pinpointzero
Multiple Filament tables on a Livewire component
Hi Leandro,
I hope you're well, and thank you for this.
It would be ideal in a specific component I'm building to be able to put two through the same component.
If it is going to be awkward to set-up and maintain, this way seems more proper.
Thank you. 🙂
6 replies
When do you use multiple panels?
Hi Null,
I have a specific project where I have six separate panels.
One for a super-admin who can (literally) do anything, another for admin to manage users, and then the other four for separate user-types.
You can have one panel, and make sure that all of the resources you present are tailored depending on the user who is logged in, but, I find the separation of panels a separation of concerns, and it's cleaner.
Also, you can use Laravel's built-in Policy system to ensure that only certain users can access panels, and to reduce resource code footprint, you can use Laravel Macros.
4 replies