notifcenter: fix undefined->bool warning on actions visible binding
This commit is contained in:
parent
af3afa6a14
commit
dd88b8a4c2
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ M.HoverPanel {
|
||||||
// Actions
|
// Actions
|
||||||
Row {
|
Row {
|
||||||
spacing: 4
|
spacing: 4
|
||||||
visible: notifDelegate._notif?.actions && notifDelegate._notif.actions.length > 0
|
visible: !!(notifDelegate._notif?.actions?.length)
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: notifDelegate._notif?.actions ?? []
|
model: notifDelegate._notif?.actions ?? []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue