Skip to content

Commit 47c4bd5

Browse files
christian-byrneviva-jinyi
authored andcommitted
remove the temporary check for legacy custom node version of manager
1 parent e7e7257 commit 47c4bd5

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

src/components/dialog/content/LoadWorkflowWarning.vue

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@
3131
</div>
3232
</template>
3333
</ListBox>
34-
<div
35-
v-if="isManagerInstalled && !isLegacyManager"
36-
class="flex justify-end py-3"
37-
>
34+
<div v-if="!isLegacyManager" class="flex justify-end py-3">
3835
<PackInstallButton
3936
:disabled="isLoading || !!error || missingNodePacks.length === 0"
4037
:node-packs="missingNodePacks"
@@ -56,30 +53,17 @@ import PackInstallButton from '@/components/dialog/content/manager/button/PackIn
5653
import { useMissingNodes } from '@/composables/nodePack/useMissingNodes'
5754
import { useComfyManagerService } from '@/services/comfyManagerService'
5855
import { useDialogService } from '@/services/dialogService'
59-
import { useAboutPanelStore } from '@/stores/aboutPanelStore'
6056
import type { MissingNodeType } from '@/types/comfy'
6157
import { ManagerTab } from '@/types/comfyManagerTypes'
6258
6359
const props = defineProps<{
6460
missingNodeTypes: MissingNodeType[]
6561
}>()
6662
67-
const aboutPanelStore = useAboutPanelStore()
68-
6963
// Get missing node packs from workflow with loading and error states
7064
const { missingNodePacks, isLoading, error, missingCoreNodes } =
7165
useMissingNodes()
7266
73-
// Determines if ComfyUI-Manager is installed by checking for its badge in the about panel
74-
// This allows us to conditionally show the Manager button only when the extension is available
75-
// TODO: Remove this check when Manager functionality is fully migrated into core
76-
const isManagerInstalled = computed(() => {
77-
return aboutPanelStore.badges.some(
78-
(badge) =>
79-
badge.label.includes('ComfyUI-Manager') ||
80-
badge.url.includes('ComfyUI-Manager')
81-
)
82-
})
8367
const isLegacyManager = ref(false)
8468
8569
const uniqueNodes = computed(() => {

0 commit comments

Comments
 (0)