fix: show check/preview actions
This commit is contained in:
parent
a43fef535b
commit
5e16c25fca
@ -1,4 +1,6 @@
|
|||||||
@php
|
@php
|
||||||
|
$fieldWrapperView = $getFieldWrapperView();
|
||||||
|
|
||||||
$results = $getState() ?? [];
|
$results = $getState() ?? [];
|
||||||
$results = is_array($results) ? $results : [];
|
$results = is_array($results) ? $results : [];
|
||||||
|
|
||||||
@ -37,6 +39,7 @@
|
|||||||
};
|
};
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
|
<x-dynamic-component :component="$fieldWrapperView" :field="$field">
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<x-filament::section
|
<x-filament::section
|
||||||
heading="Safety checks"
|
heading="Safety checks"
|
||||||
@ -115,4 +118,4 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
</x-dynamic-component>
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
@php
|
@php
|
||||||
|
$fieldWrapperView = $getFieldWrapperView();
|
||||||
|
|
||||||
$diffs = $getState() ?? [];
|
$diffs = $getState() ?? [];
|
||||||
$diffs = is_array($diffs) ? $diffs : [];
|
$diffs = is_array($diffs) ? $diffs : [];
|
||||||
|
|
||||||
@ -33,6 +35,7 @@
|
|||||||
};
|
};
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
|
<x-dynamic-component :component="$fieldWrapperView" :field="$field">
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<x-filament::section
|
<x-filament::section
|
||||||
heading="Preview"
|
heading="Preview"
|
||||||
@ -174,4 +177,4 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
</x-dynamic-component>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user