There was an error while loading. Please reload this page.
1 parent 22c76c7 commit 3899450Copy full SHA for 3899450
1 file changed
src/platform/workflow/management/stores/comfyWorkflow.ts
@@ -2,7 +2,6 @@ import { markRaw } from 'vue'
2
3
import { t } from '@/i18n'
4
import type { ChangeTracker } from '@/scripts/changeTracker'
5
-import { useDialogService } from '@/services/dialogService'
6
import { UserFile } from '@/stores/userFileStore'
7
import type { ComfyWorkflowJSON } from '@/platform/workflow/validation/schemas/workflowSchema'
8
@@ -139,6 +138,7 @@ export class ComfyWorkflow extends UserFile {
139
138
}
140
141
async promptSave(): Promise<string | null> {
+ const { useDialogService } = await import('@/services/dialogService')
142
return await useDialogService().prompt({
143
title: t('workflowService.saveWorkflow'),
144
message: t('workflowService.enterFilename') + ':',
0 commit comments