mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 02:32:18 +00:00
[refactor] WIP: pack card footer check conflict logic simplified
This commit is contained in:
@@ -60,21 +60,9 @@ const hasConflict = computed(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// For uninstalled packages, check compatibility directly
|
// For uninstalled packages, check compatibility directly
|
||||||
if (
|
const compatibility = checkVersionCompatibility(nodePack)
|
||||||
nodePack.supported_os ||
|
console.log(compatibility)
|
||||||
nodePack.supported_accelerators ||
|
|
||||||
nodePack.supported_comfyui_version
|
|
||||||
) {
|
|
||||||
const compatibility = checkVersionCompatibility({
|
|
||||||
supported_os: nodePack.supported_os,
|
|
||||||
supported_accelerators: nodePack.supported_accelerators,
|
|
||||||
supported_comfyui_version: nodePack.supported_comfyui_version,
|
|
||||||
supported_comfyui_frontend_version:
|
|
||||||
nodePack.supported_comfyui_frontend_version
|
|
||||||
})
|
|
||||||
return compatibility.hasConflict
|
|
||||||
}
|
|
||||||
|
|
||||||
return false
|
return compatibility.hasConflict
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user