mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
sidebar: collapsed calendar: make todo count update properly
This commit is contained in:
@@ -233,9 +233,9 @@ export const ModuleCalendar = () => {
|
||||
vpack: 'center',
|
||||
className: 'txt txt-small sidebar-calendar-collapsed-pill',
|
||||
label: `${Todo.todo_json.length} ${getString('To do tasks')}`,
|
||||
setup: self => self.hook(Todo, (self) => {
|
||||
setup: (self) => self.hook(Todo, (self) => {
|
||||
self.label = `${Todo.todo_json.length} ${getString('To do tasks')}`
|
||||
})
|
||||
}, 'updated')
|
||||
}),
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user