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(mobile): keep the shared place link type to its store, and expect notes on the desktop save

Mauriceb5350287a408
diff --git a/client/src/components/Collections/CollectionPlaceDetail.test.tsx b/client/src/components/Collections/CollectionPlaceDetail.test.tsx
index 499a0223c..f6cd36a08 100644
--- a/client/src/components/Collections/CollectionPlaceDetail.test.tsx
+++ b/client/src/components/Collections/CollectionPlaceDetail.test.tsx
@@ -339,6 +339,8 @@ describe('CollectionPlaceDetail', () => {
address: 'Somewhere',
lat: 52.5,
lng: 13.4,
+ // No notes on this place, and none written (#3168).
+ notes: null,
});
// Back in read mode.
expect(await screen.findByRole('button', { name: 'Edit' })).toBeInTheDocument();
diff --git a/client/src/native/sharedFiles.ts b/client/src/native/sharedFiles.ts
index 6279edda1..2f1c0d8ed 100644
--- a/client/src/native/sharedFiles.ts
+++ b/client/src/native/sharedFiles.ts
@@ -23,7 +23,7 @@ export interface SharedLink {
}
/** A shared map link on its way to a trip's new place (#2582). */
-export interface SharedPlaceLink {
+interface SharedPlaceLink {
tripId: number;
url: string;
}