From b5350287a408523b8e93f2717396d8bcfac7f7f3 Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 27 Nov 2026 23:56:19 +0100 Subject: [PATCH] fix(mobile): keep the shared place link type to its store, and expect notes on the desktop save --- .../src/components/Collections/CollectionPlaceDetail.test.tsx | 2 ++ client/src/native/sharedFiles.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; }