mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-24 14:45:36 +00:00
fix: sync sortBy on initial nav coordination for popular tab
This commit is contained in:
@@ -596,8 +596,7 @@ const coordinateNavAndSort = (source: 'nav' | 'sort') => {
|
||||
}
|
||||
}
|
||||
|
||||
// Watch for changes from the two sources ('nav' and 'sort') and trigger the coordinator.
|
||||
watch(selectedNavItem, () => coordinateNavAndSort('nav'))
|
||||
watch(selectedNavItem, () => coordinateNavAndSort('nav'), { immediate: true })
|
||||
watch(sortBy, () => coordinateNavAndSort('sort'))
|
||||
|
||||
// Convert between string array and object array for MultiSelect component
|
||||
|
||||
Reference in New Issue
Block a user