[Manager] Fix race condition in pack selection (#4158)

This commit is contained in:
Christian Byrne
2025-06-13 20:53:06 -07:00
committed by GitHub
parent c9c1275e4c
commit 48ac4a2b36

View File

@@ -51,6 +51,7 @@ const isLoading = ref(false)
const registryNodeDefs = shallowRef<ListComfyNodesResponse | null>(null)
const fetchNodeDefs = async () => {
getNodeDefs.cancel()
isLoading.value = true
const { id: packId } = nodePack