Skip to content

Commit fda189a

Browse files
committed
Pass initial variable to block
1 parent cc406d1 commit fda189a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/linkstack/elements/buttons.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@foreach($links as $link)
66
@if(isset($link->custom_html) && $link->custom_html)
7-
@include('blocks::' . $link->name . '.display', ['link' => $link])
7+
@include('blocks::' . $link->name . '.display', ['link' => $link, 'initial' => $initial++])
88
@else
99
@switch($link->name)
1010
@case('icon')

0 commit comments

Comments
 (0)