volume mixer: add icon for empty

This commit is contained in:
end-4
2024-03-26 12:57:15 +07:00
parent 5f4deb7408
commit c615b9987f
2 changed files with 33 additions and 6 deletions
@@ -159,9 +159,9 @@ export default (props) => {
'empty': notifEmptyContent,
'list': notifList,
},
setup: (self) => self
.hook(Notifications, (self) => self.shown = (Notifications.notifications.length > 0 ? 'list' : 'empty'))
,
setup: (self) => self.hook(Notifications, (self) => {
self.shown = (Notifications.notifications.length > 0 ? 'list' : 'empty')
}),
});
return Box({
...props,