Skip to content

Commit da65aed

Browse files
committed
fix : A logic error in settings migrations for dated type column
1 parent 452ca1f commit da65aed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,8 @@ export default class TaskBoard extends Plugin {
641641
dateType:
642642
this.settings.data.globalSettings
643643
.universalDate,
644-
from: 0,
645-
to: 0,
644+
from: column.datedBasedColumn?.from || 0,
645+
to: column.datedBasedColumn?.to || 0,
646646
};
647647
delete column.range;
648648
}

0 commit comments

Comments
 (0)