Skip to content

Commit d5a1fb8

Browse files
committed
makeLessonDataを buildLessonDataに変更
resolve: #139 (comment)
1 parent 3da37bc commit d5a1fb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/EditingScreen.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export default Vue.extend({
225225
}
226226
},
227227
setLesson() {
228-
const lessonOnlyAddData: classData.Lesson = this.makeLessonData()
228+
const lessonOnlyAddData: classData.Lesson = this.buildLessonData()
229229
const lessonData: classData.LessonWithId = {
230230
startTime: lessonOnlyAddData.startTime,
231231
endTime: lessonOnlyAddData.endTime,
@@ -249,7 +249,7 @@ export default Vue.extend({
249249
})
250250
},
251251
addLesson() {
252-
const lessonData: classData.Lesson = this.makeLessonData()
252+
const lessonData: classData.Lesson = this.buildLessonData()
253253
vxm.classData
254254
.addLesson(lessonData)
255255
.then(() => {
@@ -259,7 +259,7 @@ export default Vue.extend({
259259
this.error = true
260260
})
261261
},
262-
makeLessonData(): classData.Lesson {
262+
buildLessonData(): classData.Lesson {
263263
const startTimeStr: string =
264264
this.firstPageData.date + ' ' + this.firstPageData.startTime
265265
const startTimeDate: Date = dayjs(startTimeStr).toDate()

0 commit comments

Comments
 (0)