comparison src/app/notebook-feed/notebook-feed.component.ts @ 470:2142e7820706

Fix audio not loading after empty stack
author Lucas Thompson <dev@lucas.im>
date Fri, 30 Jun 2017 16:01:10 +0100
parents 3a76205e06b6
children
comparison
equal deleted inserted replaced
469:3a76205e06b6 470:2142e7820706
39 } 39 }
40 } 40 }
41 this.mAnalyses = analyses; 41 this.mAnalyses = analyses;
42 if (front) { 42 if (front) {
43 this.currentAudioUri = this.getCurrentAudioUri(); 43 this.currentAudioUri = this.getCurrentAudioUri();
44 } else {
45 this.currentAudioUri = '';
44 } 46 }
45 } 47 }
46 48
47 get analyses(): Item[] { 49 get analyses(): Item[] {
48 return this.mAnalyses; 50 return this.mAnalyses;