notifcenter: fix undefined->bool warning on actions visible binding

This commit is contained in:
Damocles 2026-04-17 10:04:12 +02:00
parent af3afa6a14
commit dd88b8a4c2

View file

@ -437,7 +437,7 @@ M.HoverPanel {
// Actions
Row {
spacing: 4
visible: notifDelegate._notif?.actions && notifDelegate._notif.actions.length > 0
visible: !!(notifDelegate._notif?.actions?.length)
Repeater {
model: notifDelegate._notif?.actions ?? []