Feat/dev #5
@@ -93,7 +93,9 @@ Page({
|
|||||||
},
|
},
|
||||||
showToday() {
|
showToday() {
|
||||||
if (this.data.completingAll || this.data.taskBusyIds.length) return;
|
if (this.data.completingAll || this.data.taskBusyIds.length) return;
|
||||||
this.setData({ date: localDate() });
|
const today = localDate();
|
||||||
|
if (this.data.date === today) return;
|
||||||
|
this.setData({ date: today });
|
||||||
this.load();
|
this.load();
|
||||||
},
|
},
|
||||||
field(e) {
|
field(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user