Skip to content

Commit

Permalink
fix: Menu
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Dec 14, 2024
1 parent 57fb0e3 commit 40ac50f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/MenuManager/src/MenuDivider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function isActive(): bool
return false;
}

public function viewData(): array
protected function viewData(): array
{
return [
'label' => $this->getLabel(),
Expand Down
2 changes: 1 addition & 1 deletion src/MenuManager/src/MenuGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function isActive(): bool
return false;
}

public function viewData(): array
protected function viewData(): array
{
return [
'items' => $this->getItems(),
Expand Down
2 changes: 1 addition & 1 deletion src/MenuManager/src/MenuItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ protected function prepareBeforeRender(): void
/**
* @throws Throwable
*/
public function viewData(): array
protected function viewData(): array
{
$viewData = [
'url' => $this->getUrl(),
Expand Down
2 changes: 1 addition & 1 deletion src/UI/resources/views/components/table/builder.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class="js-table-builder-container"
@if($columnSelection)
<x-moonshine::layout.flex justify-align="end">
<x-moonshine::dropdown>
<div class="p-2">
<div class="p-2 form-group">
@foreach($columns as $column => $label)
<div class="form-group form-group-inline">
<x-moonshine::form.switcher
Expand Down

0 comments on commit 40ac50f

Please sign in to comment.