From 0a601257de57e117c25293197af6549c8bc66145 Mon Sep 17 00:00:00 2001 From: Melek REBAI Date: Thu, 9 Sep 2021 17:59:28 +0100 Subject: [PATCH] Add events emitted by OverlayPanel This PR adds the emits: ['show', 'hide'] to OverlayPanel component. Without these vue will throw warnings in the console Also in vue js docs, they encourage to add the emits --- src/components/overlaypanel/OverlayPanel.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/overlaypanel/OverlayPanel.vue b/src/components/overlaypanel/OverlayPanel.vue index d16be8e53..7d257fc93 100755 --- a/src/components/overlaypanel/OverlayPanel.vue +++ b/src/components/overlaypanel/OverlayPanel.vue @@ -51,6 +51,7 @@ export default { default: null } }, + emits: ['show', 'hide'], data() { return { visible: false