DocumentDrawer redirects to collection edit page #11829
Unanswered
gbalcewicz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use the DocumentDrawer component through the useDocumentDrawer hook, it works fine until I save a document. I'm using it on my custom view and after i save the document it redirects user to the created /collections/{collectionslug}/{id} route instead of staying on the custom view.
I've dug into the code
So it seems it should not redirect as the DocumentDrawer has the drawerSlug. What I'm doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions