Poprawki do zapamiętywania statusów dyżurnych

This commit is contained in:
2022-03-11 21:30:24 +01:00
parent b7f361a63d
commit 6b778cbb11
5 changed files with 33 additions and 12 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export const getStatusID = (stationStatus: any): string => {
};
export const getStatusTimestamp = (stationStatus: any): number => {
if (!stationStatus || stationStatus == -1) return -2;
if (!stationStatus) return -2;
const statusCode = stationStatus[2];
const statusTimestamp = stationStatus[3];