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 40351a5 commit db10fbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Laravel/src/Pages/Crud/IndexPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use MoonShine\Laravel\Enums\Ability;
use MoonShine\Support\Enums\JsEvent;
use MoonShine\Support\Enums\PageType;
use MoonShine\UI\Components\ActionButton;
use MoonShine\UI\Components\ActionGroup;
use MoonShine\UI\Components\Layout\Div;
use MoonShine\UI\Components\Layout\Flex;
Expand Down Expand Up @@ -180,7 +179,7 @@ static function (ActionGroup $group) use ($resource): ActionGroup {
$group->add(
QueryTagButton::for($resource, $tag)->when(
$resource->isQueryTagsInDropdown(),
fn(ActionButtonContract $btn) => $btn->showInDropdown()
fn (ActionButtonContract $btn) => $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) => $button->showInDropdown())
fn (ActionButtonsContract $buttons) => $buttons->map(fn (ActionButtonContract $button) => $button->showInDropdown())
);
}

Expand Down

0 comments on commit db10fbc

Please sign in to comment.