@ -528,7 +528,14 @@
});
},
onCoursePreview() {
let newTab = window.open(`/course/${this.course.id}`, '_blank');
let url;
if (!this.course.url) {
url = `/course/${this.course.id}`;
} else {
}
url = `/course/${this.course.url}`;
let newTab = window.open(url, '_blank');
newTab.focus();
saveCourseDraft: function (newValue, oldValue) {