Fix: Include imageUrl/imageUrlBack in database select query

- Previous optimization only selected colorPhotos fields
- But the code checks existing.imageUrl to decide if print area should update
- imageUrl/imageUrlBack were undefined, breaking the print area update logic
- Now properly includes these fields in the select so the check works
This commit is contained in:
Andymick
2026-07-19 12:29:54 +01:00
parent 6f6cd89eb3
commit d1f09f91f0
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -106,7 +106,8 @@
"Bash(git commit -m 'Refactor: Move image display into PhotoPrintAreaField component *)",
"Bash(git commit -m 'Optimize: Skip color photo processing when not uploading new photos *)",
"Bash(git commit -m 'Optimize: Fetch only necessary fields from database *)",
"Bash(git commit -m 'Fix: Always update print area coordinates when editing product *)"
"Bash(git commit -m 'Fix: Always update print area coordinates when editing product *)",
"Bash(git commit -m 'Fix: Include imageUrl/imageUrlBack in database select query *)"
]
}
}