fix: show check/preview actions
This commit is contained in:
parent
a43fef535b
commit
5e16c25fca
@ -1,4 +1,6 @@
|
||||
@php
|
||||
$fieldWrapperView = $getFieldWrapperView();
|
||||
|
||||
$results = $getState() ?? [];
|
||||
$results = is_array($results) ? $results : [];
|
||||
|
||||
@ -37,7 +39,8 @@
|
||||
};
|
||||
@endphp
|
||||
|
||||
<div class="space-y-4">
|
||||
<x-dynamic-component :component="$fieldWrapperView" :field="$field">
|
||||
<div class="space-y-4">
|
||||
<x-filament::section
|
||||
heading="Safety checks"
|
||||
:description="$ranAtLabel ? ('Last run: ' . $ranAtLabel) : 'Run checks to evaluate risk before previewing.'"
|
||||
@ -114,5 +117,5 @@
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</x-dynamic-component>
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
@php
|
||||
$fieldWrapperView = $getFieldWrapperView();
|
||||
|
||||
$diffs = $getState() ?? [];
|
||||
$diffs = is_array($diffs) ? $diffs : [];
|
||||
|
||||
@ -33,7 +35,8 @@
|
||||
};
|
||||
@endphp
|
||||
|
||||
<div class="space-y-4">
|
||||
<x-dynamic-component :component="$fieldWrapperView" :field="$field">
|
||||
<div class="space-y-4">
|
||||
<x-filament::section
|
||||
heading="Preview"
|
||||
:description="$ranAtLabel ? ('Generated: ' . $ranAtLabel) : 'Generate a preview to see what would change.'"
|
||||
@ -173,5 +176,5 @@
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</x-dynamic-component>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user