Skip to content

Commit e590706

Browse files
committed
Fixed Id Call due to model intercept.
1 parent ec9c571 commit e590706

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/AdminNotification/Block/Grid/Renderer

1 file changed

+2
-2
lines changed

app/code/Magento/AdminNotification/Block/Grid/Renderer/Actions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function render(DataObject $row) : string
5454

5555
$markAsReadHtml = !$row->getData('is_read') ? '<a class="action-mark" href="' . $this->getUrl(
5656
'*/*/markAsRead/',
57-
['_current' => true, 'id' => $row->getData('id')]
57+
['_current' => true, 'id' => $row->getData('notification_id')]
5858
) . '">' . __(
5959
'Mark as Read'
6060
) . '</a>' : '';
@@ -68,7 +68,7 @@ public function render(DataObject $row) : string
6868
'*/*/remove/',
6969
[
7070
'_current' => true,
71-
'id' => $row->getData('id'),
71+
'id' => $row->getData('notification_id'),
7272
ActionInterface::PARAM_NAME_URL_ENCODED => $encodedUrl
7373
]
7474
),

0 commit comments

Comments
 (0)