diff --git a/web/src/components/CourseRedactor.vue b/web/src/components/CourseRedactor.vue index a2fa6ced..3ba9359e 100644 --- a/web/src/components/CourseRedactor.vue +++ b/web/src/components/CourseRedactor.vue @@ -84,13 +84,13 @@ -
ДАТА
-
+ -->
ДОСТУП
@@ -656,11 +656,11 @@ this.course = api.convertCourseJson(response.data); this.course.live = this.live; - if (this.live && this.course.date) { + /* if (this.live && this.course.date) { this.course.date = _.find(this.scheduleOptions, (item) => { return item.value == this.course.date; }) - } + } */ this.$nextTick(() => { this.courseLoading = false; @@ -841,11 +841,11 @@ this.course.id = courseData.id; } - if(this.live && courseData.date) { + /*if(this.live && courseData.date) { this.course.date = _.find(this.scheduleOptions, function(item){ return item.value == courseData.date; }); - } + }*/ this.$nextTick(() => { this.courseSyncHook = false; });