Refactoring to implement visualization and edition features.
This commit is contained in:
1 parent
67cfd16efb
commit
adc37fef03
11 files changed
+129
-223
No files matched your search
@@ -9,6 +9,7 @@ import { Paper, Stack } from '@suid/material';
|
||||
import styled from '@suid/material/styles/styled';
|
||||
import Dialog from '../dialog';
|
||||
import Tree from '../tree';
|
||||
import { GpxViewer } from '../gpx';
|
||||
|
||||
const Item = styled(Paper)(({ theme }) => ({
|
||||
...theme.typography.body2,
|
||||
@@ -124,7 +125,7 @@ const FeaturesTree: Component<{ featuresHierarchy: any }> = ({
|
||||
subTree={Object.keys(featuresHierarchy)
|
||||
.filter((key: string) => key.startsWith('gpx/'))
|
||||
.map((key: string) => (
|
||||
<FeaturesTree featuresHierarchy={featuresHierarchy[key]} />
|
||||
<GpxViewer gpxId={key} />
|
||||
))}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user