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"
|
||||
sx={{ fontWeight: 'bold' }}
|
||||
>
|
||||
<Link
|
||||
{/* Detailed battery view commented out */}
|
||||
{/*<Link
|
||||
style={{ color: 'black' }}
|
||||
to={routes.detailed_view + BatteryId}
|
||||
>
|
||||
>*/}
|
||||
{'Battery Cluster ' + BatteryId}
|
||||
</Link>
|
||||
{/*</Link>*/}
|
||||
</TableCell>
|
||||
<TableCell
|
||||
sx={{
|
||||
|
|
|
|||
|
|
@ -566,7 +566,7 @@ function Overview(props: OverviewProps) {
|
|||
>
|
||||
<FormattedMessage id="24_hours" defaultMessage="24-hours" />
|
||||
</Button>
|
||||
{props.device !== 3 && (
|
||||
{props.device !== 3 && props.product !== 2 && (
|
||||
<Button
|
||||
variant="contained"
|
||||
onClick={handleWeekData}
|
||||
|
|
|
|||
|
|
@ -605,6 +605,7 @@ function SodioHomeInstallation(props: singleInstallationProps) {
|
|||
s3Credentials={s3Credentials}
|
||||
id={props.current_installation.id}
|
||||
device={props.current_installation.device}
|
||||
product={props.current_installation.product}
|
||||
connected={connected}
|
||||
loading={loading}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue