mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 16:25:03 -05:00
[web-src] Do not show queue save dialog if queue is empty
This commit is contained in:
parent
936b7f7b5d
commit
6424e23f14
@ -18,14 +18,6 @@
|
|||||||
</span>
|
</span>
|
||||||
<span>Add Stream</span>
|
<span>Add Stream</span>
|
||||||
</a>
|
</a>
|
||||||
<!--
|
|
||||||
<a class="button" :class="{ 'is-info': edit_mode }" @click="edit_mode = !edit_mode">
|
|
||||||
<span class="icon">
|
|
||||||
<i class="mdi mdi-content-save"></i>
|
|
||||||
</span>
|
|
||||||
<span>Save</span>
|
|
||||||
</a>
|
|
||||||
-->
|
|
||||||
<a class="button is-small" :class="{ 'is-info': edit_mode }" @click="edit_mode = !edit_mode">
|
<a class="button is-small" :class="{ 'is-info': edit_mode }" @click="edit_mode = !edit_mode">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="mdi mdi-pencil"></i>
|
<i class="mdi mdi-pencil"></i>
|
||||||
@ -150,7 +142,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
save_dialog: function (item) {
|
save_dialog: function (item) {
|
||||||
this.show_pls_save_modal = true
|
if (this.queue_items.length > 0) {
|
||||||
|
this.show_pls_save_modal = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user