Persist route when opening a modal

My app consists of a DocumentResource...each Document has a folder_id, that determines which folder the document belongs to. DocumentResource then registers an index page that matches the following route: /{folder?} where the folder parameter is optional. Users can then filter through folders and documents list accordingly. They can also then view the document details in a slideOver defined with a ViewAction. The expected behavior would be that the index route stays on the current folder when clicking the ViewAction, but what actually happens is that the index view is reset without the folder route parameter - the actual URL in the browser stays the same. Is there a way to persist the folder parameter when the view modal opens? Attached a video of the flow.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server