From 84ac13f91245f8611d5e12e40f91e1912e3ac22a Mon Sep 17 00:00:00 2001 From: serge Date: Tue, 31 Oct 2023 01:14:32 +0200 Subject: [PATCH] fix: Task Labels Suggestor Still Displayed - MEED-2773 - Meeds-io/meeds#1208 Prior to this change the label suggestor remains displayed once you have added a label or removed one. This change makes sure that Once you have added a label, then the suggestor collapses Once you have removed a label, then the suggestor collapses --- .../taskDrawer/components/TaskDrawerComponents/TaskProject.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapps/src/main/webapp/vue-app/taskDrawer/components/TaskDrawerComponents/TaskProject.vue b/webapps/src/main/webapp/vue-app/taskDrawer/components/TaskDrawerComponents/TaskProject.vue index 8d1f24666..db895a7b3 100644 --- a/webapps/src/main/webapp/vue-app/taskDrawer/components/TaskDrawerComponents/TaskProject.vue +++ b/webapps/src/main/webapp/vue-app/taskDrawer/components/TaskDrawerComponents/TaskProject.vue @@ -114,7 +114,7 @@ export default { created() { this.getProjects(); $(document).on('mousedown', () => { - if (this.$refs.select.isMenuActive) { + if (this.$refs.select && this.$refs.select.isMenuActive) { window.setTimeout(() => { this.$refs.select.isMenuActive = false; }, 200);