@@ -28,6 +28,7 @@ UbuntuShape {
2828 property var actions
2929 property var notificationId
3030 property var type
31+ property var notification
3132
3233 signal actionInvoked(string buttonId)
3334
@@ -46,7 +47,7 @@ UbuntuShape {
4647 anchors.fill: contentColumn
4748 objectName: "interactiveArea"
4849 enabled: notification.type == Notification.Interactive
49− onClicked: notificationRenderer.model.get(notificationId).invokeAction(actionRepeater.model.actionId(0))
50+ onClicked: notification.notification.invokeAction(actionRepeater.model.actionId(0))
5051 }
5152
5253 Column {
@@ -152,7 +153,7 @@ UbuntuShape {
152153 width: (buttonRow.width - buttonRow.spacing) / 2
153154 height: units.gu(4)
154155 text: label
155− onClicked: notificationRenderer.model.get(notificationId).invokeAction(id)
156+ onClicked: notification.notification.invokeAction(id)
156157 }
157158 }
158159 }