#Is it possible to programmatically navigate using the payload object?

1 messages · Page 1 of 1 (latest)

cyan horizon
#

Use Case
I am restoring the collection item version in the AfterChangeHook if a data sync operation fails with an external system.
After restoring to the previous version, the collection view is not updated and users still sees his last changes made, not the restored version.

What is more, there is no way to communicate to the user that a version was restored - no toast of global messaging that is reactive has thus-far worke.

Question
The only way I can think of to solve this is to programmatically either A) Refresh the page of B) navigate to list view.

Is it possible for do any of that using the payload object?

opaque cargo
#

Hey @cyan horizon did you find a solution here?