From 932899473c25bbb27b9d9626ba6d23a60c34a3d8 Mon Sep 17 00:00:00 2001 From: leiyre Date: Tue, 7 Mar 2023 09:14:13 +0100 Subject: [PATCH] fix: Remove extra-action dropdown state after navigation (#2479) # Description This PR restarts the initial state of the dropdown after navigation Closes #2158 **Type of change** - [x] Bug fix (non-breaking change which fixes an issue) **Checklist** - [x] I have merged the original branch into my forked branch - [x] follows the style guidelines of this project - [x] I did a self-review of my code - [x] My changes generate no new warnings --- frontend/components/commons/results/RecordExtraActions.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/components/commons/results/RecordExtraActions.vue b/frontend/components/commons/results/RecordExtraActions.vue index 8d7d392b64..84744fd1e0 100644 --- a/frontend/components/commons/results/RecordExtraActions.vue +++ b/frontend/components/commons/results/RecordExtraActions.vue @@ -87,6 +87,9 @@ export default { }, }, }, + beforeDestroy() { + this.close(); + }, methods: { // TODO: call vuex-actions here instead of trigger event onChangeRecordStatus(status) {