comment last week in Overview and detailed battery view of sodistore home
This commit is contained in:
parent
c70cacf179
commit
dfa2f89295
|
|
@ -240,12 +240,13 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) {
|
||||||
align="center"
|
align="center"
|
||||||
sx={{ fontWeight: 'bold' }}
|
sx={{ fontWeight: 'bold' }}
|
||||||
>
|
>
|
||||||
<Link
|
{/* Detailed battery view commented out */}
|
||||||
|
{/*<Link
|
||||||
style={{ color: 'black' }}
|
style={{ color: 'black' }}
|
||||||
to={routes.detailed_view + BatteryId}
|
to={routes.detailed_view + BatteryId}
|
||||||
>
|
>*/}
|
||||||
{'Battery Cluster ' + BatteryId}
|
{'Battery Cluster ' + BatteryId}
|
||||||
</Link>
|
{/*</Link>*/}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell
|
<TableCell
|
||||||
sx={{
|
sx={{
|
||||||
|
|
|
||||||
|
|
@ -566,7 +566,7 @@ function Overview(props: OverviewProps) {
|
||||||
>
|
>
|
||||||
<FormattedMessage id="24_hours" defaultMessage="24-hours" />
|
<FormattedMessage id="24_hours" defaultMessage="24-hours" />
|
||||||
</Button>
|
</Button>
|
||||||
{props.device !== 3 && (
|
{props.device !== 3 && props.product !== 2 && (
|
||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
onClick={handleWeekData}
|
onClick={handleWeekData}
|
||||||
|
|
|
||||||
|
|
@ -605,6 +605,7 @@ function SodioHomeInstallation(props: singleInstallationProps) {
|
||||||
s3Credentials={s3Credentials}
|
s3Credentials={s3Credentials}
|
||||||
id={props.current_installation.id}
|
id={props.current_installation.id}
|
||||||
device={props.current_installation.device}
|
device={props.current_installation.device}
|
||||||
|
product={props.current_installation.product}
|
||||||
connected={connected}
|
connected={connected}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue