mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-04 21:22:07 +00:00
[feat] Show conflicting status for installed packages with compatibility issues (#4579)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
:status-type="
|
||||
nodePack.status as components['schemas']['NodeVersionStatus']
|
||||
"
|
||||
:has-compatibility-issues="hasCompatibilityIssues"
|
||||
/>
|
||||
</MetadataRow>
|
||||
<MetadataRow :label="t('manager.version')">
|
||||
@@ -131,9 +132,9 @@ const conflictResult = computed((): ConflictDetectionResult | null => {
|
||||
return null
|
||||
})
|
||||
|
||||
const hasCompatibilityIssues = computed(
|
||||
() => conflictResult.value?.has_conflict ?? false
|
||||
)
|
||||
const hasCompatibilityIssues = computed(() => {
|
||||
return isInstalled.value && conflictResult.value?.has_conflict ? true : false
|
||||
})
|
||||
|
||||
const infoItems = computed<InfoItem[]>(() => [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user