[web-src] Do not show queue save dialog if queue is empty

This commit is contained in:
chme 2020-04-12 06:30:14 +02:00
parent 936b7f7b5d
commit 6424e23f14

View File

@ -18,14 +18,6 @@
</span>
<span>Add Stream</span>
</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">
<span class="icon">
<i class="mdi mdi-pencil"></i>
@ -150,10 +142,12 @@ export default {
},
save_dialog: function (item) {
if (this.queue_items.length > 0) {
this.show_pls_save_modal = true
}
}
}
}
</script>
<style>