From 2a536185e7ea2ca8bbb5c57b0ab278a2bcc2e847 Mon Sep 17 00:00:00 2001 From: Bastian Allgeier Date: Mon, 14 Dec 2020 13:59:18 +0100 Subject: [PATCH] Fix breadcrumb issue in drawers when drawers get closed #3003 --- panel/src/components/Drawers/Drawer.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panel/src/components/Drawers/Drawer.vue b/panel/src/components/Drawers/Drawer.vue index 91bf4cb93d..5000bc27dc 100644 --- a/panel/src/components/Drawers/Drawer.vue +++ b/panel/src/components/Drawers/Drawer.vue @@ -89,6 +89,9 @@ export default { } } }, + destroyed() { + this.$store.dispatch("drawers/close", this._uid); + }, methods: { close() { this.$refs.overlay.close();