Skip to content

Commit

Permalink
fix: attributes on wrong element
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin committed Dec 6, 2023
1 parent 1aadbb0 commit cc08ca3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions views/v3/partials/navigation/accessibility-item.blade.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<li role="menuitem">
@link([
'href' => $item['href'] ?? null,
'attributeList' => [
'attributeList' => array_merge($item['attributeList'] ?? [], [
'onClick' => $item['script'] ?? '',
'aria-label' => $item['label'] ?? '',
],
]),
])
@icon([
'icon' => $item['icon'],
'size' => $item['size'] ?? 'md',
'filled' => $item['filled'] ?? true,
'attributeList' => $item['attributeList'] ?? [],
'classList' => $item['classList'] ?? []
])
@endicon
Expand Down

0 comments on commit cc08ca3

Please sign in to comment.