mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-10 23:50:00 +00:00
[Manager] Fix: failed tasks logs not correctly partitioned in UI (#4242)
This commit is contained in:
committed by
bymyself
parent
f47047dc6e
commit
b3cbfa257c
@@ -90,7 +90,6 @@ export const useComfyManagerStore = defineStore('comfyManager', () => {
|
||||
() => {
|
||||
partitionTasks()
|
||||
partitionTaskLogs()
|
||||
console.log('installed pack ids', installedPacksIds.value)
|
||||
},
|
||||
{ deep: true }
|
||||
)
|
||||
@@ -154,26 +153,12 @@ export const useComfyManagerStore = defineStore('comfyManager', () => {
|
||||
|
||||
const updateInstalledIds = (packs: ManagerPackInstalled[]) => {
|
||||
const newIds = packsToIdSet(packs)
|
||||
console.log('updateInstalledIds: creating set with:', Array.from(newIds))
|
||||
installedPacksIds.value = newIds
|
||||
console.log(
|
||||
'updateInstalledIds: final installedPacksIds:',
|
||||
Array.from(installedPacksIds.value)
|
||||
)
|
||||
}
|
||||
|
||||
const onPacksChanged = () => {
|
||||
const packs = Object.values(installedPacks.value)
|
||||
console.log(
|
||||
'onPacksChanged called with packs:',
|
||||
packs.map((p) => ({
|
||||
key: Object.keys(installedPacks.value).find(
|
||||
(k) => installedPacks.value[k] === p
|
||||
),
|
||||
cnr_id: p.cnr_id,
|
||||
aux_id: p.aux_id
|
||||
}))
|
||||
)
|
||||
|
||||
updateDisabledIds(packs)
|
||||
updateInstalledIds(packs)
|
||||
}
|
||||
@@ -337,7 +322,7 @@ export const useComfyManagerStore = defineStore('comfyManager', () => {
|
||||
failedTasksIds,
|
||||
succeededTasksLogs,
|
||||
failedTasksLogs,
|
||||
managerQueue, // Expose full queue composable for advanced usage
|
||||
managerQueue,
|
||||
|
||||
// Pack actions
|
||||
installPack,
|
||||
|
||||
Reference in New Issue
Block a user