Closed VladSelegean closed 1 year ago
Hi @VladSelegean,
I understand your point, though this is a feature of the Preview API itself, see a snapshot from our docs (https://kontent.ai/learn/reference/delivery-api/):
A possible workaround might be using the system.workflow_step[neq]=archived
query parameter, though I'll have to test this first first too see if it works as intended.
Motivation
Using the usePreviewMode configuration also fetches archived items, which doesn't really make sense for the preview mode.
Proposed solution
Adding a new configuration property which will skip archived items.