Skip to content

Commit 338dd34

Browse files
viva-jinyiclaude
andcommitted
feat: run conflict detection after Apply Changes
Run performConflictDetection automatically after the backend restarts from Apply Changes button to detect conflicts in newly installed packages 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 1685e46 commit 338dd34

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/dialog/footer/ManagerProgressFooter.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ import { computed, ref } from 'vue'
102102
import { useI18n } from 'vue-i18n'
103103
104104
import DotSpinner from '@/components/common/DotSpinner.vue'
105+
import { useConflictDetection } from '@/composables/useConflictDetection'
105106
import { api } from '@/scripts/api'
106107
import { useComfyManagerService } from '@/services/comfyManagerService'
107108
import { useWorkflowService } from '@/services/workflowService'
@@ -118,6 +119,7 @@ const dialogStore = useDialogStore()
118119
const progressDialogContent = useManagerProgressDialogStore()
119120
const comfyManagerStore = useComfyManagerStore()
120121
const settingStore = useSettingStore()
122+
const { performConflictDetection } = useConflictDetection()
121123
122124
// State management for restart process
123125
const isRestarting = ref<boolean>(false)
@@ -163,6 +165,9 @@ const handleRestart = async () => {
163165
await useCommandStore().execute('Comfy.RefreshNodeDefinitions')
164166
165167
await useWorkflowService().reloadCurrentWorkflow()
168+
169+
// Run conflict detection on all installed packages after restart
170+
await performConflictDetection()
166171
} finally {
167172
await settingStore.set(
168173
'Comfy.Toast.DisableReconnectingToast',

0 commit comments

Comments
 (0)