chris-ware / nova-breadcrumbs

Breadcrumbs for Laravel Nova
152 stars 44 forks source link

Empty Resource and Items #57

Closed evelynDickinson closed 4 years ago

evelynDickinson commented 4 years ago
Annotation 2019-10-29 135617

Hey ya,

Thanks for your work on nova-breadcrumbs! I'm running Laravel 6.2 / Nova 2.5 and Resource and Items are displaying empty once I drill in past the Index page. Any thoughts?

Thanks.

Evie

chris-ware commented 4 years ago

The package has a reliance on information generated from API calls, so it should all be there. Are you getting any console errors at all? Being completely empty suggest it has pulled something back as I'm fairly certain I coded it to have a ... by default until its filled

evelynDickinson commented 4 years ago

No console errors. Here's the generated code...

image

evelynDickinson commented 4 years ago

Just expanding that a bit...

image

chris-ware commented 4 years ago

Given that the breadcrumbs don't have any '...' entries, it would suggest that some of the data has tried to be passed into them. This makes it a bit of a pain to debug. One of a few things could be happening here. Firstly, have you updated Nova at all and if so, did you run php artisan nova:publish to re-publish all the JS assets? Secondly, are you running any other nova packages, custom or other? Thirdly, does your base resource class have the required Trait in it?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically closed because it has not had recent activity.