mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Poprawki do zapamiętywania statusów dyżurnych
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user