diff --git a/contentcuration/contentcuration/frontend/channelEdit/components/ResourcePanel.vue b/contentcuration/contentcuration/frontend/channelEdit/components/ResourcePanel.vue index 3e4a6caecc..333faab32c 100644 --- a/contentcuration/contentcuration/frontend/channelEdit/components/ResourcePanel.vue +++ b/contentcuration/contentcuration/frontend/channelEdit/components/ResourcePanel.vue @@ -354,15 +354,14 @@ {{ $tr('resources') }} @@ -395,15 +394,14 @@ {{ $tr('source') }} { + if (nodes.length > 0) { + window.open(this.importedChannelLink, '_blank'); + } else { + this.$store.dispatch('showSnackbar', { + text: this.$tr('sourceContentDoesntExist'), + }); + } + }); + } + }, }, $trs: { questions: 'Questions', @@ -892,6 +910,8 @@ noQuestionsError: 'Exercise is empty', incompleteQuestionError: '{count, plural, one {# incomplete question} other {# incomplete questions}}', + sourceContentDoesntExist: + 'Source content no longer exists. Please contact your administrator.', }, };