datocms / plugins

Repository providing samples using the Plugins SDK
MIT License
33 stars 47 forks source link

[Web Previews] Hide sidebar dropdown option if there are no preview links #87

Closed JanStevens closed 1 year ago

JanStevens commented 1 year ago

Hi,

If you have a record without preview links, the sidebar dropdown should not be available. The user ends up in an empty / non functional sidebar anyways when clicking on it.

Screenshot 2023-05-11 at 14 13 31

Not sure if this is directly possible with the current plugin-sdk.

Regards,

stefanoverna commented 1 year ago

Yes, this is not possible with the current SDK. I'm going to close this for now!