diff --git a/contentcuration/contentcuration/frontend/RecommendedResourceCard/components/RecommendedResourceCard.vue b/contentcuration/contentcuration/frontend/RecommendedResourceCard/components/RecommendedResourceCard.vue index 2f3e9d968e..78bde4a2d3 100644 --- a/contentcuration/contentcuration/frontend/RecommendedResourceCard/components/RecommendedResourceCard.vue +++ b/contentcuration/contentcuration/frontend/RecommendedResourceCard/components/RecommendedResourceCard.vue @@ -2,7 +2,7 @@ { @@ -360,15 +363,15 @@ }, mounted() { this.searchTerm = this.$route.params.searchTerm || ''; - this.loadRecommendations(); - this.loadContentNode(this.$route.params.destNodeId).then(node => { - this.importDestination = node?.title || ''; + this.loadAncestors({ id: this.$route.params.destNodeId }).then(ancestors => { + this.importDestinationAncestors = ancestors; + this.loadRecommendations(); }); }, methods: { ...mapActions('channel', ['loadChannel']), ...mapActions('clipboard', ['copy']), - ...mapActions('contentNode', ['loadContentNode', 'loadPublicContentNode']), + ...mapActions('contentNode', ['loadAncestors', 'loadPublicContentNode']), ...mapActions('importFromChannels', ['fetchResourceSearchResults']), ...mapMutations('importFromChannels', { selectNodes: 'SELECT_NODES',