diff --git a/backend/package.json b/backend/package.json index 02fb2e0..437f75b 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "loa-viewer-backend", - "version": "2.2.1", + "version": "2.2.2", "description": "", "main": "app.js", "scripts": { diff --git a/frontend/src/components/Sectors.tsx b/frontend/src/components/Sectors.tsx index fd269ff..02ba7b1 100644 --- a/frontend/src/components/Sectors.tsx +++ b/frontend/src/components/Sectors.tsx @@ -34,7 +34,7 @@ function SectorLevelWidget(min: number, max: number) { let iconAnchor = [0, 0] as PointExpression; let htmlContent; - if (min === 0) { + if (min === 0 || !min) { htmlContent = ( FL{max + 1} @@ -45,7 +45,7 @@ function SectorLevelWidget(min: number, max: number) { } else { htmlContent = ( - FL{max + 1}
+ FL{max + 1 || 660}
FL{min}
);