New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button not display for single-types #40
Comments
Hi @WebMamba I think you may still need to configure env vars for the plugin. You can read about it in the docs here. In a future release, these env vars will become optional 👍🏻 Let me know how this works out for you. |
No I already configure my envs. Here is my .env file :
I am using strapi 4.3.2 It's actually working great with my collection content-type but still not working with my single type. I dig in to your code and I find that, when you are in the single-type page :
here the data is empty. Here is empty also :
But I can't figure out why is empty juste in single-type; |
@WebMamba Okay I see the issue now. I actually thought this issue had been resolved before 🤔 Anyway, I will be working on a bug fix for this today 👍🏻 Thank you for raising this issue! |
@mattmilburn thanks for your work! It's working great now! But I looked at your correction, that was a silly bug! Maybe you can do an issue to the strapi repo, it doesn't look like the expected behaviour. 🤔 |
Hey folks! I have the plugin installed here is my package.json :
and I added the following configuration in ./config/plugins.js
module.exports = { 'preview-button': { config: { contentTypes: [ { uid: 'api::home-page.home-page' } ] } } }
But the button in never display. Do i miss something in the de docs ?
The text was updated successfully, but these errors were encountered: