CEC-2628 - Display IP in digital twin in portal (#251)

This commit is contained in:
Paul Adamsen
2023-01-06 13:41:22 -05:00
committed by GitHub
parent e2aecc9f3b
commit a08d5809a6
4 changed files with 25 additions and 5 deletions

View File

@@ -70,6 +70,7 @@ let vehicleState = {
temperature: 26,
},
trex_version: "1000000",
ip: "172.20.0.17:49850",
updated: "2022-07-26T00:26:38.880381Z",
},
};
@@ -146,10 +147,12 @@ export const useVehicleContext = () => ({
command,
parameters,
})),
getFleets: jest.fn((vin, search,_token) => {return {
data: ["fleet1", "fleet2"],
total: 2,
}}),
getFleets: jest.fn((vin, search, _token) => {
return {
data: ["fleet1", "fleet2"],
total: 2,
}
}),
});
export const setBusy = (val) => {