refactor(editor): Fix TypeScript issues in views (no-changelog) (#9573)

This commit is contained in:
Elias Meire
2024-05-31 15:52:00 +02:00
committed by GitHub
parent 327794127e
commit e23420d89d
15 changed files with 89 additions and 70 deletions

View File

@@ -9,7 +9,7 @@ import { useRoute, useRouter } from 'vue-router';
const loadingService = useLoadingService();
const templateStore = useTemplatesStore();
const workfowStore = useWorkflowsStore();
const workflowsStore = useWorkflowsStore();
const router = useRouter();
const route = useRoute();
const i18n = useI18n();
@@ -26,7 +26,7 @@ const openWorkflowTemplate = async (templateId: string) => {
interpolate: { name: template.name },
});
const workflow = await workfowStore.createNewWorkflow({
const workflow = await workflowsStore.createNewWorkflow({
name,
connections: template.workflow.connections,
nodes: template.workflow.nodes,