Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi authored and github-actions[bot] committed Aug 16, 2024
1 parent 25ae702 commit 9bf77d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Concerns/HasOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public static function visibility(?array $getFields = []): Accordion
return Accordion::make('visibility-options')
->label(__('Conditional Visibility'))
->icon('iconpark-eyes')
->visible(fn(Livewire $livewire)=>str($livewire->getName())
->replace('-form','')
->visible(fn (Livewire $livewire) => str($livewire->getName())
->replace('-form', '')
->explode('.')
->last() === 'edit')
->schema([
Expand Down
3 changes: 1 addition & 2 deletions src/Concerns/Schemata.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,7 @@ public static function getSectionsSchema(): array
->modalIcon('heroicon-m-cog')
->modalDescription(__('advanced fields settings'))
->fillForm(
fn (array $arguments, Repeater $component)
=> $component->getItemState($arguments['item'])
fn (array $arguments, Repeater $component) => $component->getItemState($arguments['item'])
)
->form(function (Get $get, array $arguments, Repeater $component) {
$allSections = self::getVisibleFields($get('../../sections'), $arguments);
Expand Down

0 comments on commit 9bf77d9

Please sign in to comment.