Closed wajdijurry closed 1 year ago
userResponsible did not return the relation. maybe create a new class that extend Revision then return user relation?
@anditsung Yes, and that's what I did. I extended the Revision model and defined a user
relation. Now, I am able to display the user in revisions table.
Thanks!
I am absolutely confident with this package, on the other hand, I would like to display revisions in Laravel Nova dashboard v4.0.
I am doing this for now:
I have
Revision
resource as well:All works fine except
userResponsible
attribute, which resolves to a model\App\Models\User
after requestingrevisionHistory
. How can I displayUser
in my nova Resource?An image to demonstrate the current display: