You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I populated a collection list through the API and I missed the _id field for the Content Link, so the data sent was:
{
"model": "Books"
}
Instead of
{
"model": "Books",
"_id": "123456"
}
I couldn't browse those items on the admin to delete them so I had to do a local override to fix the issue on modules/Content/assets/vue-components/field-content-item-link.js
On line 26 I added safe browsing and it worked:
Before: return${value._id.substr(-5)}
After: return${value?._id?.substr(-5)}
The text was updated successfully, but these errors were encountered:
Hi there!
I populated a collection list through the API and I missed the _id field for the Content Link, so the data sent was:
Instead of
I couldn't browse those items on the admin to delete them so I had to do a local override to fix the issue on modules/Content/assets/vue-components/field-content-item-link.js
On line 26 I added safe browsing and it worked:
Before:
return
${value._id.substr(-5)}After:
return
${value?._id?.substr(-5)}The text was updated successfully, but these errors were encountered: