Refreshing GPX list after importing a new GPX.

This commit is contained in:
vdv committed 2022-11-27 18:24:17 +01:00
1 parent 37fd31a040
commit 6c2573ba8b
6 files changed
+16 -12

No files matched your search

+2
View File
@@ -9,6 +9,7 @@ import css from './GpxImport.module.css';
import { findStartTime } from '../../lib/gpx';
import dispatch from '../../workers/dispatcher-main';
import { intToGpxId } from '../../lib/ids';
import { refetchGpxList } from '../all-gpxes';
const GpxImport: Component = () => {
const onChangeHandler = (event: any) => {
@@ -39,6 +40,7 @@ const GpxImport: Component = () => {
},
},
});
refetchGpxList();
},
false
);