Mercurial > hg > ugly-duckling
diff src/app/feature-extraction-menu/feature-extraction-menu.component.html @ 48:af0b4b05311c
Guard against extraction when no audio is loaded.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 06 Dec 2016 11:03:38 +0000 |
parents | 933c64ebcd13 |
children | 0980eb001bde |
line wrap: on
line diff
--- a/src/app/feature-extraction-menu/feature-extraction-menu.component.html Mon Dec 05 16:57:34 2016 +0000 +++ b/src/app/feature-extraction-menu/feature-extraction-menu.component.html Tue Dec 06 11:03:38 2016 +0000 @@ -7,5 +7,6 @@ <p> <button md-raised-button color="primary" - (click)="extract(extractorOutputs.value)">Extract</button> + (click)="extract(extractorOutputs.value)" + [disabled]="disabled">Extract</button> </p>