diff --git a/client/src/boot/main.js b/client/src/boot/main.js index 822cfb2..50fa759 100644 --- a/client/src/boot/main.js +++ b/client/src/boot/main.js @@ -73,7 +73,7 @@ export default boot(async ({ app, router }) => { }), toggle: createInput(toggle, { props: ['placeholder', 'disabled', 'readonly'], - emits: ['toggle'], + // emits: ['toggle', 'customEvent'], }), }, }; diff --git a/client/src/components/inputs/toggle.vue b/client/src/components/inputs/toggle.vue index a3757a3..ac5c269 100644 --- a/client/src/components/inputs/toggle.vue +++ b/client/src/components/inputs/toggle.vue @@ -17,6 +17,7 @@ import { defineProps, ref, onUpdated, computed } from 'vue'; export default { + name: 'toggle', props: { context: { type: Object, diff --git a/client/src/components/player.vue b/client/src/components/player.vue index 5408c4e..888b953 100644 --- a/client/src/components/player.vue +++ b/client/src/components/player.vue @@ -46,14 +46,15 @@