diff --git a/ui/frontend/src/components/PersistPage/persist.ts b/ui/frontend/src/components/PersistPage/persist.ts index 4821c4e04..b29f1e209 100644 --- a/ui/frontend/src/components/PersistPage/persist.ts +++ b/ui/frontend/src/components/PersistPage/persist.ts @@ -103,6 +103,9 @@ export const persist = async ( // delete route backup // TODO + // Do it before onSuccess() + unbindOnBeforeUnloadPage(); + onSuccess(); } finally { unbindOnBeforeUnloadPage();