mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed gpx downloading
This commit is contained in:
parent
18cbeed06e
commit
23b8f5dea6
2 changed files with 20 additions and 8 deletions
|
@ -214,7 +214,7 @@ function* keyPressedSaga({ key, target }: ReturnType<typeof editorKeyPressed>) {
|
|||
function* getGPXTrackSaga(): SagaIterator {
|
||||
const { route, stickers, title, address }: ReturnType<typeof selectMap> = yield select(selectMap);
|
||||
|
||||
if (!route || route.length <= 0) return;
|
||||
if (!route.length && !stickers.length) return;
|
||||
|
||||
const track = getGPXString({ route, stickers, title: title || address });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue