Skip to content

Commit

Permalink
Fixes to the map drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
brian7704 committed Apr 5, 2024
1 parent 9fcf957 commit 3b01e44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/_versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export interface TsAppVersion {
export const versions: TsAppVersion = {
version: '0.0.0',
name: 'opentakserver-ui',
versionDate: '2024-04-04T15:16:14.389Z',
gitCommitHash: 'gdf413d7',
gitCommitDate: '2024-04-04T14:35:33.000Z',
versionLong: '0.0.0-gdf413d7',
gitTag: 'v1.0.0',
versionDate: '2024-04-05T14:28:53.976Z',
gitCommitHash: 'g9fcf957',
gitCommitDate: '2024-04-04T15:22:25.000Z',
versionLong: '0.0.0-g9fcf957',
gitTag: 'v1.1.0',
};
export default versions;
4 changes: 2 additions & 2 deletions src/pages/Map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function Map() {

if (eud !== null) {
Object.keys(eud).map((key, index) => {
if (key !== 'point' && key !== 'last_point' && key !== 'icon' && key !== 'zmist' && key !== 'eud') {
if (key !== 'point' && key !== 'last_point' && key !== 'icon' && key !== 'zmist' && key !== 'eud' && key !== 'data_packages') {
let value = eud[key];
if (eud[key] === true) {
value = 'True';
Expand All @@ -64,7 +64,7 @@ export default function Map() {
<Table.Td><Image src={eud[key].bitmap} w="auto" fit="contain" /></Table.Td>
</Table.Tr>
);
} else if (key === 'point' && eud[key] !== null) {
} else if ((key === 'point' || key === 'last_point') && eud[key] !== null) {
Object.keys(eud[key]).map((point_key, point_index) => {
position_rows.push(
<Table.Tr>
Expand Down

0 comments on commit 3b01e44

Please sign in to comment.