Keep LoRA keys still while typing aliases instead of re-sorting on every letter.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-02 21:24:46 -05:00
co-authored by Cursor
parent 642bffeaaa
commit ca2380f4ae
+1 -1
View File
@@ -466,7 +466,7 @@ const filteredLoraRows = computed(() => {
if (!q) return true
const hay = `${row.file} ${row.draft} ${row.trigger} ${row.key} ${row.placeholder}`.toLowerCase()
return hay.includes(q)
}).sort((a, b) => (a.draft || a.file).localeCompare(b.draft || b.file, undefined, { sensitivity: 'base' }))
})
})
const loginUser = ref('')
const loginCurrent = ref('')