Skip to content

Commit

Permalink
v2.2.2 (#21)
Browse files Browse the repository at this point in the history
* fix vertical limit display
* increment patch version
  • Loading branch information
LeoKle authored Jan 7, 2024
1 parent 2d574d9 commit 30c2654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "loa-viewer-backend",
"version": "2.2.1",
"version": "2.2.2",
"description": "",
"main": "app.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Sectors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
<span style={{ fontWeight: 'bold', fontSize: 13 }}>
FL{max + 1}
Expand All @@ -45,7 +45,7 @@ function SectorLevelWidget(min: number, max: number) {
} else {
htmlContent = (
<span style={{ fontWeight: 'bold', fontSize: 13 }}>
FL{max + 1} <br />
FL{max + 1 || 660} <br />
FL{min}
</span>
);
Expand Down

0 comments on commit 30c2654

Please sign in to comment.