mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 01:20:09 +00:00
feat: add new sorting options for template filtering by VRAM utilization and model size
This commit is contained in:
@@ -319,13 +319,21 @@ const licenseFilterLabel = computed(() => {
|
||||
// Sort options
|
||||
const sortOptions = computed(() => [
|
||||
{
|
||||
name: t('templateWorkflows.sort.alphabetical', 'A → Z'),
|
||||
value: 'alphabetical'
|
||||
name: t('templateWorkflows.sort.default', 'Default'),
|
||||
value: 'default'
|
||||
},
|
||||
{ name: t('templateWorkflows.sort.newest', 'Newest'), value: 'newest' },
|
||||
{
|
||||
name: t('templateWorkflows.sort.default', 'Default'),
|
||||
value: 'default'
|
||||
name: t('templateWorkflows.sort.vramLowToHigh', 'VRAM Utilization (Low to High)'),
|
||||
value: 'vram-low-to-high'
|
||||
},
|
||||
{
|
||||
name: t('templateWorkflows.sort.modelSizeLowToHigh', 'Model Size (Low to High)'),
|
||||
value: 'model-size-low-to-high'
|
||||
},
|
||||
{
|
||||
name: t('templateWorkflows.sort.alphabetical', 'Alphabetical (A-Z)'),
|
||||
value: 'alphabetical'
|
||||
}
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user