diff --git a/src/components/dialog/content/LoadWorkflowWarning.vue b/src/components/dialog/content/LoadWorkflowWarning.vue index bc10a381a..b02e85e3e 100644 --- a/src/components/dialog/content/LoadWorkflowWarning.vue +++ b/src/components/dialog/content/LoadWorkflowWarning.vue @@ -31,6 +31,12 @@
+
@@ -41,6 +47,8 @@ import ListBox from 'primevue/listbox' import { computed } from 'vue' import NoResultsPlaceholder from '@/components/common/NoResultsPlaceholder.vue' +import PackInstallButton from '@/components/dialog/content/manager/button/PackInstallButton.vue' +import { useMissingNodes } from '@/composables/nodePack/useMissingNodes' import { useDialogService } from '@/services/dialogService' import { useAboutPanelStore } from '@/stores/aboutPanelStore' import type { MissingNodeType } from '@/types/comfy' @@ -52,6 +60,9 @@ const props = defineProps<{ const aboutPanelStore = useAboutPanelStore() +// Get missing node packs from workflow with loading and error states +const { missingNodePacks, isLoading, error } = 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 diff --git a/src/components/dialog/content/manager/ManagerDialogContent.vue b/src/components/dialog/content/manager/ManagerDialogContent.vue index 34f500243..39dce41d4 100644 --- a/src/components/dialog/content/manager/ManagerDialogContent.vue +++ b/src/components/dialog/content/manager/ManagerDialogContent.vue @@ -32,6 +32,7 @@ v-model:sortField="sortField" :search-results="searchResults" :suggestions="suggestions" + :is-missing-tab="isMissingTab" :sort-options="sortOptions" />
diff --git a/src/components/dialog/content/manager/button/PackActionButton.vue b/src/components/dialog/content/manager/button/PackActionButton.vue index 573e5c34e..d38d18626 100644 --- a/src/components/dialog/content/manager/button/PackActionButton.vue +++ b/src/components/dialog/content/manager/button/PackActionButton.vue @@ -1,16 +1,18 @@