[web] Format source code

This commit is contained in:
Alain Nussbaumer 2023-07-26 16:04:12 +02:00
parent d84b7dc80f
commit c20c80b757
2 changed files with 11 additions and 3 deletions

View File

@ -72,9 +72,17 @@ export default {
methods: { methods: {
play_track(track) { play_track(track) {
if (this.uris) { if (this.uris) {
webapi.player_play_uri(this.uris, false, this.tracks.items.indexOf(track)) webapi.player_play_uri(
this.uris,
false,
this.tracks.items.indexOf(track)
)
} else if (this.expression) { } else if (this.expression) {
webapi.player_play_expression(this.expression, false, this.tracks.items.indexOf(track)) webapi.player_play_expression(
this.expression,
false,
this.tracks.items.indexOf(track)
)
} else { } else {
webapi.player_play_uri(track.uri, false) webapi.player_play_uri(track.uri, false)
} }