Skip to content

Commit

Permalink
pass uuid to viewData for scoping inside block if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed May 7, 2024
1 parent e299ce9 commit ea87593
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class="absolute inset-0 rotate-180 transition"
'pointer-events-none' => ! $hasInteractiveBlockPreviews(),
])
>
{{ $item->getParentComponent()->viewData($item->getRawState())->renderPreview() }}
{{ $item->getParentComponent()->viewData(['id' => $uuid, ...$item->getRawState()])->renderPreview() }}
</div>
@if (! $hasInteractiveBlockPreviews())
<div
Expand Down

0 comments on commit ea87593

Please sign in to comment.