store path in flowstate as well

This commit is contained in:
Ruben Fiszel
2023-11-10 13:47:08 +01:00
parent 4b07d7e2df
commit 03a64101fe
2 changed files with 2 additions and 0 deletions
@@ -290,6 +290,7 @@
initialPath && initialPath != '' ? `flow-${initialPath}` : 'flow',
encodeState({
flow: $flowStore,
path: $pathStore,
selectedId: $selectedIdStore
})
)
@@ -77,6 +77,7 @@
])
flow = state.flow
initialPath = state.path
state?.selectedId && (selectedId = state?.selectedId)
} else {
if (templatePath) {