mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-23 00:04:06 +00:00
fix: This logic needs to be cleaned up...
This commit is contained in:
@@ -102,7 +102,7 @@ export function useAssetBrowser(
|
||||
})
|
||||
|
||||
const selectedOwnership = computed<OwnershipOption>(() => {
|
||||
if (typeCategories.value.length === 0) return filters.value.ownership
|
||||
if (typeCategories.value.length <= 1) return filters.value.ownership
|
||||
if (selectedNavItem.value === 'imported') return 'my-models'
|
||||
if (selectedNavItem.value === 'all') return 'all'
|
||||
return filters.value.ownership
|
||||
|
||||
Reference in New Issue
Block a user