System Information
- Strapi Version: 3.6.1
- Operating System: macOS
- Database: MongoDB
- Node Version: 14
- NPM Version: 7
- Yarn Version: -
Hello!
I want to add a new button to the EditView header, so I edit this file:
extensions/content-manager/admin/src/containers/EditView/Header/index.js
The button is already showing! But I have a problem…
To generate the URL for the button… I’m using the initialData
from here.
But I get the id
from the relationship, when I need another field (the slug
)
How could I query there to get the slug
through the id
?
Thanks!