File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ export default Vue.extend({
225
225
}
226
226
},
227
227
setLesson() {
228
- const lessonOnlyAddData: classData .Lesson = this .makeLessonData ()
228
+ const lessonOnlyAddData: classData .Lesson = this .buildLessonData ()
229
229
const lessonData: classData .LessonWithId = {
230
230
startTime: lessonOnlyAddData .startTime ,
231
231
endTime: lessonOnlyAddData .endTime ,
@@ -249,7 +249,7 @@ export default Vue.extend({
249
249
})
250
250
},
251
251
addLesson() {
252
- const lessonData: classData .Lesson = this .makeLessonData ()
252
+ const lessonData: classData .Lesson = this .buildLessonData ()
253
253
vxm .classData
254
254
.addLesson (lessonData )
255
255
.then (() => {
@@ -259,7 +259,7 @@ export default Vue.extend({
259
259
this .error = true
260
260
})
261
261
},
262
- makeLessonData (): classData .Lesson {
262
+ buildLessonData (): classData .Lesson {
263
263
const startTimeStr: string =
264
264
this .firstPageData .date + ' ' + this .firstPageData .startTime
265
265
const startTimeDate: Date = dayjs (startTimeStr ).toDate ()
You can’t perform that action at this time.
0 commit comments