Skip to content

Commit 93cef20

Browse files
committed
Change merge order to preserve output format
May want to revert this later as it makes sense for user added data to be last, but this preserves the current attribute order for now
1 parent 283016f commit 93cef20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<a href="{{ $item }}" {{ $attributes->except('item')->class([
22
'navigation-link block my-2 md:my-0 md:inline-block py-1 text-gray-700 hover:text-gray-900 dark:text-gray-100',
33
'navigation-link-active border-l-4 border-indigo-500 md:border-none font-medium -ml-6 pl-5 md:ml-0 md:pl-0 bg-gray-100 dark:bg-gray-800 md:bg-transparent dark:md:bg-transparent' => $item->isActive()
4-
])->merge([
4+
])->merge($item->getExtraAttributes())->merge([
55
'aria-current' => $item->isActive() ? 'page' : false,
6-
])->merge($item->getExtraAttributes()) }}>{{ $item->getLabel() }}</a>
6+
]) }}>{{ $item->getLabel() }}</a>

0 commit comments

Comments
 (0)