[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

@ -19,4 +19,4 @@ export default {
}
</script>
<style></style>
<style></style>

View File

@ -72,9 +72,17 @@ export default {
methods: {
play_track(track) {
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) {
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 {
webapi.player_play_uri(track.uri, false)
}