mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #14493 from assuntad23/14200/bug/update_history_in_collection
watching historyID for change, if it changes, close the CollectionPanel
This commit is contained in:
@@ -83,6 +83,14 @@ export default {
|
||||
return this.dsc.contents_url.substring(1);
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
history(newHistory, oldHistory) {
|
||||
if (newHistory.id != oldHistory.id) {
|
||||
// Send up event closing out selected collection on history change.
|
||||
this.$emit("update:selected-collections", []);
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
updateDsc(collection, fields) {
|
||||
updateContentFields(collection, fields).then((response) => {
|
||||
|
||||
Reference in New Issue
Block a user