Style buttons, preselt songs in search

This commit is contained in:
Simon Hanna 2018-08-20 14:30:23 +02:00
parent a1db0af862
commit 3a19146d17
1 changed files with 3 additions and 3 deletions

View File

@ -27,8 +27,8 @@ template: `
<table>
<tr *ngFor="let item of searchResults">
<td>{{item[1]}}</td>
<td><button md-button color="primary" (click)="addToService(item[0])">Add</button></td>
<td><button md-button color="primary" (click)="sendLive(item[0])">Send Live</button></td>
<td><button mat-button color="primary" (click)="addToService(item[0])">Add</button></td>
<td><button mat-button color="accent" (click)="sendLive(item[0])">Send Live</button></td>
</tr>
</table>
</div>
@ -42,7 +42,7 @@ export class OpenLPSearchComponent implements OnInit {
public searchPlugins: PluginDescription[] = [];
public searchText = null;
public searchResults = null;
public selectedPlugin: string;
public selectedPlugin: string = "songs";
public currentPlugin: string;
constructor(private openlpService: OpenLPService) {}