Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mooxbot committed Jun 27, 2024
1 parent 1fa91da commit 49962b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
3 changes: 0 additions & 3 deletions src/Resources/ExpiryResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Actions\Action;
use Filament\Tables\Actions\DeleteBulkAction;
use Filament\Tables\Actions\ViewAction;
use Filament\Tables\Filters\SelectFilter;
Expand Down Expand Up @@ -233,8 +232,6 @@ public static function table(Table $table): Table

}



public static function getRelations(): array
{
return [];
Expand Down
24 changes: 12 additions & 12 deletions src/Resources/ExpiryResource/Pages/ListExpiries.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Moox\Expiry\Resources\ExpiryResource\Pages;

use Filament\Actions\Action;
use Moox\Expiry\Models\Expiry;
use Moox\Core\Base\BaseListRecords;
use Filament\Notifications\Notification;
use Moox\Core\Base\BaseListRecords;
use Moox\Expiry\Models\Expiry;
use Moox\Expiry\Resources\ExpiryResource;

class ListExpiries extends BaseListRecords
Expand All @@ -14,16 +14,16 @@ class ListExpiries extends BaseListRecords

protected function getHeaderActions(): array
{
return config('expiry.collect_expiries_action')
? [
Action::make('collectExpiries')
->label('Expiries aktualisieren')
->requiresConfirmation()
->action(function () {
self::collectExpiries();
})
]
: [];
return config('expiry.collect_expiries_action')
? [
Action::make('collectExpiries')
->label('Expiries aktualisieren')
->requiresConfirmation()
->action(function () {
self::collectExpiries();
}),
]
: [];
}

public static function collectExpiries()
Expand Down

0 comments on commit 49962b7

Please sign in to comment.