We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a43eb43 + 083ca72 commit dc6d61cCopy full SHA for dc6d61c
1 file changed
client/src/components/History/CurrentCollection/CollectionPanel.vue
@@ -83,6 +83,14 @@ export default {
83
return this.dsc.contents_url.substring(1);
84
},
85
86
+ watch: {
87
+ history(newHistory, oldHistory) {
88
+ if (newHistory.id != oldHistory.id) {
89
+ // Send up event closing out selected collection on history change.
90
+ this.$emit("update:selected-collections", []);
91
+ }
92
+ },
93
94
methods: {
95
updateDsc(collection, fields) {
96
updateContentFields(collection, fields).then((response) => {
0 commit comments