Skip to content

Commit

Permalink
Merge pull request #52 from lara-zeus/fix-widget-again
Browse files Browse the repository at this point in the history
fix widget
  • Loading branch information
atmonshi authored Jun 9, 2023
2 parents ba80cbc + 5fdb8d2 commit 9c28b36
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Filament/Resources/BoltResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

use Filament\Resources\Concerns\Translatable;
use Filament\Resources\Resource;
use LaraZeus\Bolt\Filament\Resources\CollectionResource\Widgets\EditCollectionWarning;
use LaraZeus\Bolt\Filament\Resources\FormResource\Widgets\BetaNote;

class BoltResource extends Resource
{
Expand All @@ -18,4 +20,12 @@ protected static function getNavigationGroup(): ?string
{
return __(config('zeus-bolt.navigation_group_label', 'Bolt'));
}

public static function getWidgets(): array
{
return [
BetaNote::class,
EditCollectionWarning::class,
];
}
}

0 comments on commit 9c28b36

Please sign in to comment.