filament-email
filament-email copied to clipboard
[Bug]: Cannot Get Correct Tenant On Custom Multitenancy RelationShip
What happened?
When using an other user tenant relationship than teams it throws this error:
Call to a member function newCollection() on null
When I change the global scope on the teams model to my custom relationship it works.
A generic solution would be nice.
How to reproduce the bug
Use a custom user tenant relationship e.g. belognsToMany facilities and try to open EmailResource.
Package Version
1.6.2
PHP Version
8.3
Laravel Version
11.22.0
Which operating systems does with happen with?
Linux
Notes
No response