Refresh queue page LoRA list with a fresh Comfy fetch too.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user