v0.1.54 - 통계 그래프 반응형 폭 조정
This commit is contained in:
@@ -976,6 +976,8 @@ const weeklyRecords = computed(() => {
|
||||
const date = toDateValue(key)
|
||||
const weekdayShort = ['일', '월', '화', '수', '목', '금', '토'][date.getDay()]
|
||||
const focusedMinutes = getFocusedMinutes(record)
|
||||
const activeTasks = record.tasks.filter((task) => task.title.trim())
|
||||
const doneTasks = activeTasks.filter((task) => task.checked)
|
||||
|
||||
return {
|
||||
key,
|
||||
@@ -983,6 +985,8 @@ const weeklyRecords = computed(() => {
|
||||
dateLabel: `${`${date.getMonth() + 1}`.padStart(2, '0')}.${`${date.getDate()}`.padStart(2, '0')}`,
|
||||
focusedMinutes,
|
||||
focusedTime: formatMinutesKorean(focusedMinutes),
|
||||
completedTasks: doneTasks.length,
|
||||
totalTasks: activeTasks.length,
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user