Created
August 23, 2022 01:28
-
-
Save dannon/06e3b29505f2283f54c25e2f40a4fc41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/src/components/History/CurrentCollection/CollectionPanel.vue b/client/src/components/History/CurrentCollection/CollectionPanel.vue | |
index 271d759e73..77ea4c07fa 100644 | |
--- a/client/src/components/History/CurrentCollection/CollectionPanel.vue | |
+++ b/client/src/components/History/CurrentCollection/CollectionPanel.vue | |
@@ -12,7 +12,6 @@ | |
<section class="dataset-collection-panel d-flex flex-column"> | |
<section> | |
<CollectionNavigation | |
- ref="collectionNav" | |
:history="history" | |
:selected-collections="selectedCollections" | |
v-on="$listeners" /> | |
@@ -86,7 +85,8 @@ export default { | |
}, | |
watch: { | |
history() { | |
- this.$refs.collectionNav.close(); | |
+ // Send up event closing out selected collection on history change. | |
+ this.$emit("update:selected-collections", []); | |
}, | |
}, | |
methods: { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment