Commit 9534cf62 authored by Eulyeon Ko's avatar Eulyeon Ko

Fix labels applied to a wrong issue

When "selectedLabels" prop changes,
the watcher for it in labels_select_root.vue
is supposed to update the vuex state "labels".

However, when the sidebar is hidden,
labels_select_root.vue component is destroyed
and the watcher is never used.

Note that we are in the process of deprecating
this particular implemenation of labels dropdown.

Changelog: fixed
parent 08fb7d51
......@@ -173,6 +173,8 @@ export default {
footerManageLabelTitle: this.footerManageLabelTitle,
});
setTimeout(() => this.updateLabelsSetState(), 100);
this.$store.subscribeAction({
after: this.handleVuexActionDispatch,
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment