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:
@@ -466,7 +466,7 @@ const filteredLoraRows = computed(() => {
|
|||||||
if (!q) return true
|
if (!q) return true
|
||||||
const hay = `${row.file} ${row.draft} ${row.trigger} ${row.key} ${row.placeholder}`.toLowerCase()
|
const hay = `${row.file} ${row.draft} ${row.trigger} ${row.key} ${row.placeholder}`.toLowerCase()
|
||||||
return hay.includes(q)
|
return hay.includes(q)
|
||||||
}).sort((a, b) => (a.draft || a.file).localeCompare(b.draft || b.file, undefined, { sensitivity: 'base' }))
|
})
|
||||||
})
|
})
|
||||||
const loginUser = ref('')
|
const loginUser = ref('')
|
||||||
const loginCurrent = ref('')
|
const loginCurrent = ref('')
|
||||||
|
|||||||
Reference in New Issue
Block a user