v0.1.44 - 날짜 기준과 TODO 정리
This commit is contained in:
13
src/App.vue
13
src/App.vue
@@ -29,7 +29,6 @@ import { deletePlannerEntry, fetchPlannerEntries, savePlannerEntry } from './lib
|
||||
import {
|
||||
createInitialPlannerRecords,
|
||||
persistPlannerState,
|
||||
readPlannerStorageState,
|
||||
restorePlannerUiState,
|
||||
} from './lib/plannerStorage'
|
||||
|
||||
@@ -1965,16 +1964,8 @@ function replacePlannerRecords(nextRecords) {
|
||||
|
||||
function restoreLocalPlannerRecords() {
|
||||
replacePlannerRecords(createInitialPlannerRecords(plannerSeed, normalizeRecord))
|
||||
|
||||
const savedState = readPlannerStorageState()
|
||||
|
||||
if (savedState.selectedDate) {
|
||||
selectedDate.value = toDateValue(savedState.selectedDate, selectedDate.value)
|
||||
}
|
||||
|
||||
if (savedState.calendarViewDate) {
|
||||
calendarViewDate.value = toDateValue(savedState.calendarViewDate, selectedDate.value)
|
||||
}
|
||||
selectedDate.value = new Date()
|
||||
calendarViewDate.value = new Date(selectedDate.value)
|
||||
}
|
||||
|
||||
function findRecordKey(record) {
|
||||
|
||||
Reference in New Issue
Block a user