diff --git a/marietje/queues/templates/queues/queue.html b/marietje/queues/templates/queues/queue.html index be7c2ad..f9e857e 100644 --- a/marietje/queues/templates/queues/queue.html +++ b/marietje/queues/templates/queues/queue.html @@ -93,17 +93,22 @@ - - +
+
+ + - - - - - + + +
+
+ + +
+
@@ -352,7 +357,11 @@ "Content-Type": 'application/json', }, } - ).finally(() => { + ).then(() => { + tata.success("", "Removed song from the queue."); + }).catch(() => { + tata.error("", "An error occurred while removing the song, please try again."); + }).finally(() => { this.refresh(); }); }, @@ -367,7 +376,11 @@ "Content-Type": 'application/json', }, } - ).finally(() => { + ).then(() => { + tata.success("", "Song was moved successfully."); + }).catch(() => { + tata.error("", "An error occurred while moving the song, please try again."); + }).finally(() => { this.refresh(); }); }