F
Filament13mo ago
Pan

Will there be a problem using same named Resource but under different Panel

I have an admin panel and moderator panel but I wanted to move a resource called UserResource since I found out I could hide some parts of the resource if they are not admin, I tried moving the UserResource from the 'filament/resources' to 'filament/Moderator/resources' tried updating the namespaces of the moved resource with 'Moderator' but I keep getting errors trying to do so. Instead I tried to just create a resource the same name since to be honest they are going to use the same table and model anyway but just different shown schema for the forms creation and edit. I just begun learning Laravel this October and found out filament at around mid October. I need to be able to accomplish my thesis to show a prototype early December. What I am actually asking is, will there be a problem going forward having two same named resources but under different panels although they are going to use the same model and table as well. Will there be a problem later on due to it?
Solution:
No problem.
Jump to solution
1 Reply
Solution
lodeki
lodeki13mo ago
No problem.
Want results from more Discord servers?
Add your server