mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 15:40:10 +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
|
||||
if (
|
||||
nodePack.supported_os ||
|
||||
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
|
||||
}
|
||||
const compatibility = checkVersionCompatibility(nodePack)
|
||||
console.log(compatibility)
|
||||
|
||||
return false
|
||||
return compatibility.hasConflict
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user