mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 23:27:31 +00:00
fix(mobile): keep the shared place link type to its store, and expect notes on the desktop save
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user