Refactor HistoryCharts and PollutionMap components for improved date handling; update SummaryCards data mapping and Card component prop types.
This commit is contained in:
@@ -110,7 +110,7 @@ const GroupViewContent = () => {
|
||||
link: gpsSensor != undefined,
|
||||
text: gpsSensor == undefined,
|
||||
marquee: gpsSensor == undefined,
|
||||
content: gpsSensor == undefined ? "SOLO VEHICULOS ELECTRICOS" : mapPreview,
|
||||
content: gpsSensor == undefined ? "TODO TIPO DE VEHICULOS" : mapPreview,
|
||||
to: `/groups/${groupId}/devices/${device.deviceId}`,
|
||||
className: `col-12 col-md-6 col-lg-4 ${gpsSensor == undefined ? "led" : ""}`,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user