forked from MapComplete/MapComplete
		
	Fix: uploading a delayed image should now report the correct theme
This commit is contained in:
		
							parent
							
								
									3f2e48e4aa
								
							
						
					
					
						commit
						3c7441d93b
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -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", | ||||
|                 } | ||||
|             ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue