diff --git a/src/components/dialog/content/LoadWorkflowWarning.vue b/src/components/dialog/content/LoadWorkflowWarning.vue index 96c632be8..654606d16 100644 --- a/src/components/dialog/content/LoadWorkflowWarning.vue +++ b/src/components/dialog/content/LoadWorkflowWarning.vue @@ -31,7 +31,10 @@ -
+
() +const aboutPanelStore = useAboutPanelStore() + // Get missing node packs from workflow with loading and error states const { missingNodePacks, isLoading, error, missingCoreNodes } = useMissingNodes() +// Determines if ComfyUI-Manager is installed by checking for its badge in the about panel +// This allows us to conditionally show the Manager button only when the extension is available +// TODO: Remove this check when Manager functionality is fully migrated into core +const isManagerInstalled = computed(() => { + return aboutPanelStore.badges.some( + (badge) => + badge.label.includes('ComfyUI-Manager') || + badge.url.includes('ComfyUI-Manager') + ) +}) const isLegacyManager = ref(false) const uniqueNodes = computed(() => {