fix jukebox form

This commit is contained in:
_Bastler 2021-11-30 19:23:47 +01:00
parent 8900b576a2
commit d49dedd242

View File

@ -1,14 +1,13 @@
<div *ngIf="active">
<form (submit)="search()">
<mat-card>
<mat-card-header>
<mat-card-title>{{'jukebox' | i18n}}</mat-card-title>
</mat-card-header>
<mat-card-content>
<form (submit)="search()">
<mat-form-field>
<input matInput [formControl]="searchFormControl" placeholder="{{'jukebox.search' | i18n}}">
</mat-form-field>
</form>
</mat-card-content>
<mat-card-actions>
<button mat-raised-button type="submit" [disabled]="!searchFormControl.value || timeout > 0 || searchDisabled">
@ -17,6 +16,7 @@
</button>
</mat-card-actions>
</mat-card>
</form>
<p *ngIf="timeout">{{'jukebox.timeout' | i18n:timeout}}</p>