Skip to content

Commit

Permalink
Merge branch '1.x' into 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
glennjacobs authored Nov 19, 2024
2 parents 8047651 + 6ec0b6e commit 2e3afc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/admin/src/Filament/Resources/DiscountResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ protected static function getTableColumns(): array
\Lunar\Models\Discount::SCHEDULED => 'info',
}),
Tables\Columns\TextColumn::make('name')
->label(__('lunarpanel::discount.table.name.label')),
->label(__('lunarpanel::discount.table.name.label'))
->searchable(),
Tables\Columns\TextColumn::make('type')
->formatStateUsing(function ($state) {
return (new $state)->getName();
Expand Down
3 changes: 2 additions & 1 deletion packages/admin/src/Support/Forms/Components/Attributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ protected function setUp(): void
'model' => $group,
'fields' => $attributes->groupBy('attribute_group_id')->get($group->id, []),
];
});
})
->filter(fn ($group) => count($group['fields']));

$groupComponents = [];

Expand Down

0 comments on commit 2e3afc7

Please sign in to comment.