mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 18:23:19 +00:00
Do not hide completed tasks in Calendar view
This commit is contained in:
parent
597ea0ac2d
commit
1416b5db58
3 changed files with 28 additions and 21 deletions
|
@ -83,13 +83,19 @@ Window {
|
|||
|
||||
tabs: [
|
||||
{
|
||||
label: "List",
|
||||
onClick: () => { root.selectedView = "list" },
|
||||
label: "Todo",
|
||||
onClick: () => {
|
||||
backend.hideCompletedTasks(true) // Little workaround for now.
|
||||
root.selectedView = "list"
|
||||
},
|
||||
selected: root.selectedView === "list"
|
||||
},
|
||||
{
|
||||
label: "Calendar",
|
||||
onClick: () => { root.selectedView = "calendar" },
|
||||
onClick: () => {
|
||||
backend.hideCompletedTasks(false) // Little workaround for now.
|
||||
root.selectedView = "calendar"
|
||||
},
|
||||
selected: root.selectedView === "calendar"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue