visible fields for fileschema

This commit is contained in:
2024-10-01 22:41:10 +03:00
parent fa388ea302
commit 4389dba49d
6 changed files with 13 additions and 7 deletions
+1 -4
View File
@@ -1,7 +1,3 @@
@php
@endphp
<div class="table mt-5 ">
<table>
<thead>
@@ -11,6 +7,7 @@
<x-lucent::checkbox value=""></x-lucent::checkbox>
</th>
@endif
@foreach($schema->visible as $visibleColumn)
@php
$schemaField = $schema->fields->firstWhere("name", $visibleColumn);