diff --git a/src/App.vue b/src/App.vue index 644beea..0270625 100644 --- a/src/App.vue +++ b/src/App.vue @@ -34,7 +34,8 @@ const state = ref({ 'uid': null, 'double_entry': {'artist': null, 'title': null, 'reason': null}, 'waiting_room_policy': null, - 'config': {} + 'config': {}, + 'kiosk': false }) onMounted(() => { @@ -73,6 +74,7 @@ function update_config(config) { state.socket.emit("update_config", {"config": config}) close_config() } +function setKiosk(kiosk) { state.value.kiosk = kiosk } function search() { var yt_checker = /^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/; @@ -278,7 +280,7 @@ function joinRoom() {