From b43998438f4e08c775eb5725e51feabec7aca139 Mon Sep 17 00:00:00 2001 From: Sanasol Date: Sat, 28 Apr 2018 19:25:11 +0300 Subject: [PATCH] payments status, date restrict --- web/src/components/CourseRedactor.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/components/CourseRedactor.vue b/web/src/components/CourseRedactor.vue index 7e1cca55..1e3cf6c9 100644 --- a/web/src/components/CourseRedactor.vue +++ b/web/src/components/CourseRedactor.vue @@ -137,7 +137,7 @@
ДАТА
- +
@@ -289,6 +289,9 @@ props: ["authorName", "authorPicture", "accessToken", "courseId", "live"], data() { return { + disabledDates: { + to: new Date(new Date().setDate(new Date().getDate() - 1)), + }, titles: {}, mounting: false, viewSection: 'course',