fix(editor): Keep NodeView component alive for TEMPLATE_IMPORT and WORKFLOW_ONBOARDING routes (no-changelog) (#7557)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
OlegIvaniv 2023-10-31 10:03:57 +01:00 committed by GitHub
parent 7a56e58a60
commit 774d521dbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -328,6 +328,7 @@ export const routes = [
},
meta: {
templatesEnabled: true,
keepWorkflowAlive: true,
getRedirect: getTemplatesRedirect,
permissions: {
allow: {
@ -346,6 +347,7 @@ export const routes = [
},
meta: {
templatesEnabled: true,
keepWorkflowAlive: true,
getRedirect: () => getTemplatesRedirect(VIEWS.NEW_WORKFLOW),
permissions: {
allow: {