diff --git a/components/Queue/Queue.vue b/components/Queue/Queue.vue index 4f35d0c3..7f7e0c8a 100644 --- a/components/Queue/Queue.vue +++ b/components/Queue/Queue.vue @@ -64,6 +64,7 @@ const changeButton = () => { //if button is teal and it's pressed, have user join queue and change color to read. if(buttonColor.value == '#5FE0B7') { + console.log("🟢 Emitting join-queue event") emit("join-queue") buttonColor.value = '#FF0000'; buttonStatus.value = 'Leave Queue'; @@ -71,6 +72,8 @@ const changeButton = () => { //if button is red (in queue) and its pressed, have user leave queue and change color to teal. else { + + console.log("🔴 Emitting leave-queue event") emit("leave-queue") buttonColor.value = '#5FE0B7' buttonStatus.value = 'Join Queue'; diff --git a/components/Queue/QueueContainer.vue b/components/Queue/QueueContainer.vue index 220850ad..b5c9b837 100644 --- a/components/Queue/QueueContainer.vue +++ b/components/Queue/QueueContainer.vue @@ -2,6 +2,7 @@