Skip to content

Comments

[5.x] Don't add published filter when in live preview#14035

Open
BobWez98 wants to merge 2 commits intostatamic:5.xfrom
BobWez98:feature/fix-live-preview-on-index
Open

[5.x] Don't add published filter when in live preview#14035
BobWez98 wants to merge 2 commits intostatamic:5.xfrom
BobWez98:feature/fix-live-preview-on-index

Conversation

@BobWez98
Copy link
Contributor

This PR adds to the check if the application is in live preview. we're using Statamic headless with nuxt and are using the /entries endpoint with slug filter, instead of the /entries/{id} endpoint to get our entries. To make the live preview work for draft entries we need this filter to not be on the query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant