Skip to content

Commit

Permalink
Merge pull request #5 from lara-zeus/remove-notfication
Browse files Browse the repository at this point in the history
remove notification
  • Loading branch information
atmonshi authored Mar 20, 2024
2 parents d62eff2 + df4e79b commit 3299eeb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 24 deletions.
32 changes: 16 additions & 16 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions src/Providers/FilamentPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
use Illuminate\Session\Middleware\AuthenticateSession;
use Illuminate\Session\Middleware\StartSession;
use Illuminate\View\Middleware\ShareErrorsFromSession;
use LaraZeus\Erebus\Filament\Clusters\Employees\Resources\NotificationResource;
use LaraZeus\Erebus\Filament\Pages\UserProfile;
use LaraZeus\Tartarus\Middleware\SetLang;
use Livewire\Livewire;
Expand Down Expand Up @@ -62,13 +61,6 @@ public static function panel(Panel $panel): Panel
->label(fn () => __('My Profile'))
->icon('heroicon-o-user-circle')
->url(static fn () => UserProfile::getUrl()),

// wtf, error in register
MenuItem::make()
->visible(fn () => tenant() !== null)
->label(fn () => __('All Notifications'))
->icon('tabler-bell')
->url(static fn () => NotificationResource::getUrl(tenant: tenant())),
])
->middleware([
EncryptCookies::class,
Expand Down

0 comments on commit 3299eeb

Please sign in to comment.