@ -673,14 +673,14 @@
watch: {
'course': {
handler: function (newValue, oldValue) {
if (this.courseSyncHook) {
return;
}
// Если курс загрузился и есть ID - делаем кнопки превью и публикации активными
if (newValue.id) {
$('#course-redactor__preview-button').removeAttr('disabled');
$('#course-redactor__publish-button').removeAttr('disabled');
this.saveCourseDraft(newValue, oldValue);
},
deep: true,