fix migrating audio attachment

This commit is contained in:
Nicolas Constant 2019-07-29 19:28:47 -04:00
parent 5778e7400d
commit 30aec1645b
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 5 additions and 1 deletions

View File

@ -21,7 +21,11 @@
<fa-icon [icon]="faTimes"></fa-icon>
</button>
<audio *ngIf="m.audioType" controls class="audio__player">
<div *ngIf="m.isMigrating">
<app-waiting-animation class="waiting-icon"></app-waiting-animation>
</div>
<audio *ngIf="m.audioType && !m.isMigrating" controls class="audio__player">
<source src="{{ m.attachment.url }}" type="{{ m.audioType }}">
Your browser does not support the audio element.
</audio>