mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[web] Lint source code
This commit is contained in:
@@ -135,10 +135,7 @@ export default {
|
||||
|
||||
computed: {
|
||||
current_position() {
|
||||
const nowPlaying = this.$store.getters.now_playing
|
||||
return nowPlaying === undefined || nowPlaying.position === undefined
|
||||
? -1
|
||||
: this.$store.getters.now_playing.position
|
||||
return this.$store.getters.now_playing?.position ?? -1
|
||||
},
|
||||
is_queue_save_allowed() {
|
||||
return (
|
||||
@@ -189,7 +186,7 @@ export default {
|
||||
remove(item) {
|
||||
webapi.queue_remove(item.id)
|
||||
},
|
||||
update_show_next_items(e) {
|
||||
update_show_next_items() {
|
||||
this.$store.commit(types.SHOW_ONLY_NEXT_ITEMS, !this.show_only_next_items)
|
||||
},
|
||||
save_dialog() {
|
||||
|
||||
Reference in New Issue
Block a user