fix(editor): Fix broken executions view (no-changelog) (#10714)

This commit is contained in:
Alex Grozav 2024-09-06 16:10:50 +03:00 committed by GitHub
parent 879b837581
commit e4c9035915
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -328,7 +328,6 @@ export const routes: RouteRecordRaw[] = [
default: NodeView,
},
meta: {
nodeView: true,
middleware: ['authenticated'],
middlewareOptions: {
authenticated: {

View file

@ -212,7 +212,7 @@ const workflowId = computed(() => {
});
const isNewWorkflowRoute = computed(() => route.name === VIEWS.NEW_WORKFLOW || !workflowId.value);
const isWorkflowRoute = computed(() => !!route?.meta?.nodeView);
const isWorkflowRoute = computed(() => !!route?.meta?.nodeView || isDemoRoute.value);
const isDemoRoute = computed(() => route.name === VIEWS.DEMO);
const isReadOnlyRoute = computed(() => !!route?.meta?.readOnlyCanvas);
const isReadOnlyEnvironment = computed(() => {