contentful / extensions

Repository providing samples using the UI Extensions SDK
ISC License
203 stars 211 forks source link

publish-confirm not working #325

Closed bizmonogatari closed 3 years ago

bizmonogatari commented 4 years ago

Im trying to follow the publish-confirm ui extension example however it does not display the messages: "Entry is linked in other entries" "Unpublish anyway"

When clicking unpublish on an entry with published references.

Steps to reproduce:

  1. Run the publish-confirm extension and apply it to a content model.

  2. Go to an entry of the above model that has references and make sure that it and its references are published. I

  3. Click the "unpublish" link provided by the ui extension.

  4. Observe that the message is not displayed.

I think this is to do with:

this.props.extension.space
.getEntries({ links_to_entry: entry.sys.id })

not working