Skip to content

Commit 9a28d4f

Browse files
committed
fixup
1 parent c8f311e commit 9a28d4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/common/src/lib/airspaces.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ export function applyTimeRule(airspace: AirspaceTyped, date: Date): AirspaceType
458458
}
459459
return {
460460
...airspace,
461-
...(isSaturday(tzDate) || isSunday(tzDate) ? undefined : { topM: 1980, topLabel: '1980m' }),
461+
...(isSaturday(tzDate) || isSunday(tzDate) ? {} : { topM: 1980, topLabel: '1980m' }),
462462
};
463463
}
464464

@@ -472,7 +472,7 @@ export function applyTimeRule(airspace: AirspaceTyped, date: Date): AirspaceType
472472
}
473473
return {
474474
...airspace,
475-
...(isSaturday(tzDate) || isSunday(tzDate) ? undefined : { topM: 2590, topLabel: '2590m' }),
475+
...(isSaturday(tzDate) || isSunday(tzDate) ? {} : { topM: 2590, topLabel: '2590m' }),
476476
};
477477
}
478478

0 commit comments

Comments
 (0)