Refresh queue page LoRA list with a fresh Comfy fetch too.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-04 15:52:58 -05:00
co-authored by Cursor
parent 06e40793db
commit ce22c0373e
+1 -1
View File
@@ -1268,7 +1268,7 @@ function saveSegment(queue: Queue, segment: Segment) {
} }
onMounted(async () => { onMounted(async () => {
void $fetch<{ video?: string[] }>('/api/loras').then((listed) => { void $fetch<{ video?: string[] }>('/api/loras?fresh=1').then((listed) => {
videoLoras.value = listed.video || [] videoLoras.value = listed.video || []
}).catch(() => null) }).catch(() => null)
void $fetch<{ loraTriggers?: Record<string, string>; loraAliases?: Record<string, string> }>('/api/library?light=1').then((library) => { void $fetch<{ loraTriggers?: Record<string, string>; loraAliases?: Record<string, string> }>('/api/library?light=1').then((library) => {