Lazy loading error on MoonShineUserResource
k-rustemuly opened this issue · 2 comments
k-rustemuly commented
Attempted to lazy load [moonshineUserRole] on model [MoonShine\Permissions\Models\MoonshineUser] but lazy loading is disabled.
по ссылке http://127.0.0.1:8000/admin/resource/moon-shine-user-resource/index-page
добавил в MoonShineUserResource:
protected array $with = ['moonshineUserRole'];
ошибка исчезла
lee-to commented
Сделаешь пр?
k-rustemuly commented
Сделаешь пр?
ok