Fix: uploading a delayed image should now report the correct theme
All checks were successful
/ deploy_on_hosted (push) Successful in 13m29s

This commit is contained in:
Pieter Vander Vennet 2025-05-06 02:18:09 +02:00
parent 3f2e48e4aa
commit 3c7441d93b

View file

@ -143,8 +143,6 @@ export class ImageUploadManager {
noblur,
targetKey,
}
console.log("Args are", args)
this._queue.add(args)
this.uploadQueue()
}
@ -243,7 +241,7 @@ export class ImageUploadManager {
result.value,
properties,
{
theme: properties?.data?.["_orig_theme"] ?? this._theme.id,
theme: args.layoutId ?? properties?.data?.["_orig_theme"] ?? this._theme.id,
changeType: "add-image",
}
)