Skip to content

Commit

Permalink
refactor: render hook for context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanalhattami committed Apr 19, 2024
1 parent b63c6ab commit 903d930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
- go back action
- forward action
- inspect action
- test hide action
- test for custom page
2 changes: 1 addition & 1 deletion src/FilamentContextMenuServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function packageBooted(): void
);

FilamentView::registerRenderHook(
PanelsRenderHook::PAGE_START,
PanelsRenderHook::PAGE_END,
fn () => view('filament-context-menu::components.context-menu'),
);
}
Expand Down

0 comments on commit 903d930

Please sign in to comment.