chore: Navigation to the video gallery updated

This commit is contained in:
XnpioChV
2023-04-05 16:10:30 -05:00
parent c1b701309b
commit 788c092d3e

View File

@@ -468,7 +468,7 @@ function($, _, Backbone, gettext, BasePage, ViewUtils, ContainerView, XBlockView
){
var destinationUrl;
if (useVideoGalleryFlow === "True" && blockType.includes("video")) {
destinationUrl = this.$('.xblock-header-primary').attr("authoring_MFE_base_url") + '/videos';
destinationUrl = this.$('.xblock-header-primary').attr("authoring_MFE_base_url") + '/course-videos/' + encodeURI(data.locator);
}
else {
destinationUrl = this.$('.xblock-header-primary').attr("authoring_MFE_base_url") + '/' + blockType[1] + '/' + encodeURI(data.locator);