Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Jan 5, 2025
1 parent 851dc06 commit 72bf8a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Laravel/src/Pages/Crud/IndexPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static function (ActionGroup $group) use ($resource): ActionGroup {
$group->add(
QueryTagButton::for($resource, $tag)->when(
$resource->isQueryTagsInDropdown(),
fn(ActionButtonContract $btn): ActionButtonContract => $btn->showInDropdown()
fn (ActionButtonContract $btn): ActionButtonContract => $btn->showInDropdown()
)
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Laravel/src/Traits/Resource/ResourceWithButtons.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function getIndexButtons(): ActionButtonsContract
$this->indexButtons()->toArray(),
)->when(
$this->isIndexButtonsInDropdown(),
fn(ActionButtonsContract $buttons) => $buttons->map(fn(ActionButtonContract $button): ActionButtonContract => $button->showInDropdown())
fn (ActionButtonsContract $buttons) => $buttons->map(fn (ActionButtonContract $button): ActionButtonContract => $button->showInDropdown())
);
}

Expand Down

0 comments on commit 72bf8a6

Please sign in to comment.