Skip to content

Commit f531cc4

Browse files
committed
Define fallback icons for page actions
1 parent f13e0e1 commit f531cc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DashboardPanelCollection.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ class DashboardPanelCollection extends DashboardPanel
455455
$links['edit'] = [
456456
'href' => $page->editUrl,
457457
'label' => $this->_('Edit'),
458-
'icon' => 'pen-to-square',
458+
'icon' => ['pen', 'pen-to-square'],
459459
'mode' => $this->editMode,
460460
'reload' => true,
461461
'disabled' => !$page->editable,
@@ -474,7 +474,7 @@ class DashboardPanelCollection extends DashboardPanel
474474
$links['trash'] = [
475475
'href' => '#',
476476
'label' => $this->_('Trash'),
477-
'icon' => 'trash-can',
477+
'icon' => ['trash', 'trash-can'],
478478
// 'disabled' => $page->isTrash() || !$page->trashable,
479479
'attributes' => [
480480
'data-action' => "[trash][{$page}]",

0 commit comments

Comments
 (0)