Closed nguyenvanvy1999 closed 12 months ago
I am facing the same issue as you. Have you resolved this problem? If so, could you please share the solution?
I am facing the same issue as you. Have you resolved this problem? If so, could you please share the solution?
Hello. This bug happen because you missing passing component loader when you config adminjs. this is solution:
const componentLoader = new ComponentLoader();
const admin = new AdminJS({
componentLoader, // Pass it here. Then it will work correctly
resources: [
{
resource: this.roleModel,
features: [
loggerFeature({ componentLoader }), // And remember pass it here
],
},
],
});
Hope it will help you.
Contact Details
No response
What happened?
I want to view records what was recored by adminjs/logger But it can not link with id to another record. And it throw an error like image below I was check information of logger record: Record and record id correct![image](https://github.com/SoftwareBrothers/adminjs/assets/61955009/30c5da12-fec9-4c30-b779-488ce2989999)
Bug prevalence
Yes
AdminJS dependencies version
What browsers do you see the problem on?
No response
Relevant log output
Relevant code that's giving you issues
With componentLoader is: