mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-21 11:14:02 -04:00
[web] Format source code
This commit is contained in:
parent
d84b7dc80f
commit
c20c80b757
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user