diff 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
line wrap: on
line diff
--- a/src/app/notebook-feed/notebook-feed.component.ts	Fri Jun 30 15:56:43 2017 +0100
+++ b/src/app/notebook-feed/notebook-feed.component.ts	Fri Jun 30 16:01:10 2017 +0100
@@ -41,6 +41,8 @@
     this.mAnalyses = analyses;
     if (front) {
       this.currentAudioUri = this.getCurrentAudioUri();
+    } else {
+      this.currentAudioUri = '';
     }
   }