Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(book): the auto layout's drawn templates no longer carry photos of the book they were drawn in

Maurice8dacd0a50ca9
diff --git a/shared/src/book/auto/auto-layout.parity.json b/shared/src/book/auto/auto-layout.parity.json
index 420bb8d06..b35c60bcc 100644
--- a/shared/src/book/auto/auto-layout.parity.json
+++ b/shared/src/book/auto/auto-layout.parity.json
@@ -65,7 +65,7 @@
"B/full/spread/0": "ac843317bb8d097c",
"B/full/spread/1": "bf4b62404c36aa0e",
"B/full/spread/2": "1af653e4557c90b9",
- "B/full/spread/3": "f766c7b6a3cad0fa",
+ "B/full/spread/3": "b094a0b5aa67b2c0",
"B/full/relayout/3": "c0f3d2e84826b420",
"B/full/spread/4": "8563f01a381c3b8b",
"B/full/spread/5": "2458025780d8cbf3",
@@ -85,14 +85,14 @@
"C/full/head": "0ffba0f701b7ccaa",
"C/full/spread/0": "ee87e9e195e1edde",
"C/full/spread/1": "bf4b62404c36aa0e",
- "C/full/spread/2": "973ed5d0aacb1063",
- "C/full/relayout/2": "973ed5d0aacb1063",
+ "C/full/spread/2": "b40cfdb0e5bea780",
+ "C/full/relayout/2": "b40cfdb0e5bea780",
"C/full/spread/3": "8eb39a4e9d726f5e",
"C/full/relayout/3": "8eb39a4e9d726f5e",
"C/full/spread/4": "5a037193ef347c07",
"C/full/relayout/4": "5a037193ef347c07",
- "C/full/spread/5": "71c9f776ce8ffc87",
- "C/full/relayout/5": "71c9f776ce8ffc87",
+ "C/full/spread/5": "b6dedb14199ad559",
+ "C/full/relayout/5": "b6dedb14199ad559",
"C/full/spread/6": "0debcd2babd7ee6b",
"C/full/relayout/6": "0debcd2babd7ee6b",
"C/full/spread/7": "2458025780d8cbf3",
diff --git a/shared/src/book/auto/auto-templates.data.ts b/shared/src/book/auto/auto-templates.data.ts
index 2b2c8226f..a7bb8b830 100644
--- a/shared/src/book/auto/auto-templates.data.ts
+++ b/shared/src/book/auto/auto-templates.data.ts
@@ -281,7 +281,7 @@ export const AUTO_TEMPLATES: readonly AutoTemplate[] = [
opacity: 1,
locked: false,
kind: 'photo',
- photoId: 69,
+ photoId: null,
fit: 'cover',
focalX: 0.42168673729754674,
focalY: 0.23833399057977409,
@@ -436,7 +436,7 @@ export const AUTO_TEMPLATES: readonly AutoTemplate[] = [
opacity: 1,
locked: false,
kind: 'photo',
- photoId: 68,
+ photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
@@ -457,7 +457,7 @@ export const AUTO_TEMPLATES: readonly AutoTemplate[] = [
opacity: 1,
locked: false,
kind: 'photo',
- photoId: 69,
+ photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,