Skip to content

Commit 3899450

Browse files
committed
Lazy import useDialogService
1 parent 22c76c7 commit 3899450

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/platform/workflow/management/stores/comfyWorkflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { markRaw } from 'vue'
22

33
import { t } from '@/i18n'
44
import type { ChangeTracker } from '@/scripts/changeTracker'
5-
import { useDialogService } from '@/services/dialogService'
65
import { UserFile } from '@/stores/userFileStore'
76
import type { ComfyWorkflowJSON } from '@/platform/workflow/validation/schemas/workflowSchema'
87

@@ -139,6 +138,7 @@ export class ComfyWorkflow extends UserFile {
139138
}
140139

141140
async promptSave(): Promise<string | null> {
141+
const { useDialogService } = await import('@/services/dialogService')
142142
return await useDialogService().prompt({
143143
title: t('workflowService.saveWorkflow'),
144144
message: t('workflowService.enterFilename') + ':',

0 commit comments

Comments
 (0)