We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bcc6ca commit 1099b10Copy full SHA for 1099b10
src/components/HabitStatsDialog.ts
@@ -120,7 +120,7 @@ export class HabitStatsDialog {
120
121
const totalCheckIns = this.habit.totalCheckIns || 0;
122
// 只统计达标的打卡天数
123
- const checkInDays = Object.keys(this.habit.checkIns || {}).filter(dateStr =>
+ const checkInDays = Object.keys(this.habit.checkIns || {}).filter(dateStr =>
124
this.isCheckInComplete(dateStr)
125
).length;
126
@@ -197,7 +197,7 @@ export class HabitStatsDialog {
197
.filter(dateStr => this.isCheckInComplete(dateStr))
198
.sort()
199
.reverse();
200
-
+
201
if (completedDates.length === 0) {
202
return 0;
203
}
0 commit comments