Skip to content

Commit f0e75c0

Browse files
committed
reset dropdown when page left
1 parent ba66bb6 commit f0e75c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

frontend/src/components/shared/DropdownDisplayChoiceHistory.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,10 @@ export default {
3737
beforeMount() {
3838
this.currentOption = this.startingOption;
3939
},
40+
deactivated() {
41+
if (!this.$route.path.startsWith('/users')) {
42+
this.currentOption = this.startingOption;
43+
}
44+
},
4045
};
4146
</script>

0 commit comments

Comments
 (0)