From bfd406206be0b6b1d57d1fca9a3bf528dc4ef773 Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Sun, 2 Jul 2023 17:44:14 +0200 Subject: [PATCH] [web] Disable buttons "edit" and "clear" when queue is empty --- web-src/src/pages/PageQueue.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/web-src/src/pages/PageQueue.vue b/web-src/src/pages/PageQueue.vue index 998ea707..ccccdaf3 100644 --- a/web-src/src/pages/PageQueue.vue +++ b/web-src/src/pages/PageQueue.vue @@ -25,12 +25,17 @@ - + @@ -190,11 +195,11 @@ export default { this.show_details_modal = true }, - open_add_stream_dialog(item) { + open_add_stream_dialog() { this.show_url_modal = true }, - save_dialog(item) { + save_dialog() { if (this.queue_items.length > 0) { this.show_pls_save_modal = true }