Skip to content

Commit 99f837a

Browse files
committed
Bump to 5.0.3
1 parent 2280a39 commit 99f837a

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Change Log for Node-RED Worldmap
22

3-
4-
- v5.0.2 Fix sidcEdgeIcon docs PR#289.
3+
- v5.0.3 - Add great context menu example flow. PR#290. Bump express lib. PR#291.
4+
- v5.0.2 - Fix sidcEdgeIcon docs PR#289.
55
- v5.0.1 - Fix isArray error PR #288.
66
- v5.0.0 - Feedback cleanup PR#281, edgeicons option PR#287, bump libs for vuln fixes.
77
- v4.9.0 - If payload.flag is two char ISO code replace it with flag emoji. Revert part of PR #271

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Feel free to [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
1313

1414
### Updates
1515

16+
- v5.0.3 - Add great context menu example flow. PR#290. Bump express lib. PR#291.
1617
- v5.0.2 - Fix sidcEdgeIcon docs PR#289.
1718
- v5.0.1 - Fix isArray error PR #288.
1819
- v5.0.0 - v5.0.0 - Feedback cleanup PR#281, edgeicons option PR#287, bump libs for vuln fixes.

package-lock.json

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-contrib-web-worldmap",
3-
"version": "5.0.2",
3+
"version": "5.0.3",
44
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
55
"dependencies": {
66
"@turf/bezier-spline": "~7.1.0",
@@ -42,7 +42,8 @@
4242
"url": "http://nodered.org"
4343
},
4444
"contributors": [
45-
"@HiroyasuNishiyama"
45+
"@HiroyasuNishiyama",
46+
"@zafrirron"
4647
],
4748
"engines": {
4849
"node": ">=18"

worldmap/worldmap.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3324,6 +3324,7 @@ function doTAKjson(p) {
33243324
d.team = d.team + ' <i style="color:' + d.team + '" class="fa fa-square"></i>';
33253325
d.role = p.detail?.__group?.role;
33263326
}
3327+
if (d.team == "undefined") { delete d.team; }
33273328
d.type = p.type;
33283329
d.remarks = p.detail?.remarks
33293330
if (p.detail?.remarks && p.detail.remarks.hasOwnProperty["#text"]) {
@@ -3366,6 +3367,7 @@ function doTAKMCjson(p) {
33663367
d.name = p.detail?.contact?.callsign || p.uid;
33673368
d.hdg = p.detail?.track?.course;
33683369
d.speed = p.detail?.track?.speed;
3370+
if (d.team == "undefined") { delete d.team; }
33693371

33703372
try {
33713373
d.timestamp = (new Date(+p.sendTime)).toISOString();

0 commit comments

Comments
 (0)