Skip to content

Commit

Permalink
Update ItemResource.php
Browse files Browse the repository at this point in the history
  • Loading branch information
adrolli committed Oct 21, 2024
1 parent 32c501a commit f2452e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/builder/src/Resources/ItemResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,11 @@ public static function form(Form $form): Form
->searchable()
->visible(fn () => static::shouldShowAuthorField()),
]),

Section::make()
->schema(static::getTaxonomyFields())
->columns(1),
->columns(1)
->visible(fn () => ! empty(static::getTaxonomyFields())),
])
->columnSpan(['lg' => 1]),
])
Expand Down

0 comments on commit f2452e5

Please sign in to comment.