add 1hour to demand chart
This commit is contained in:
parent
9dc82a0f78
commit
8d050928f0
@ -168,19 +168,19 @@ export default function Home() {
|
||||
)
|
||||
}
|
||||
|
||||
export const getServerSideProps: GetServerSideProps = async (ctx) => {
|
||||
const { ['@smartAuth-token']: token } = parseCookies(ctx)
|
||||
// export const getServerSideProps: GetServerSideProps = async (ctx) => {
|
||||
// const { ['@smartAuth-token']: token } = parseCookies(ctx)
|
||||
|
||||
if (token) {
|
||||
return {
|
||||
redirect: {
|
||||
destination: '/dashboard',
|
||||
permanent: false
|
||||
}
|
||||
}
|
||||
}
|
||||
// if (token) {
|
||||
// return {
|
||||
// redirect: {
|
||||
// destination: '/dashboard',
|
||||
// permanent: false
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
return {
|
||||
props: {}
|
||||
};
|
||||
}
|
||||
// return {
|
||||
// props: {}
|
||||
// };
|
||||
// }
|
||||
|
||||
@ -383,8 +383,8 @@ export default function Telemetria({userName, clients}: any) {
|
||||
</MenuItem>
|
||||
<MenuItem value="5_min">5 minutos</MenuItem>
|
||||
<MenuItem value="15_min">15 minutos</MenuItem>
|
||||
{/* <MenuItem value="1_hora">1 hora</MenuItem>
|
||||
<MenuItem value="1_dia">1 dia</MenuItem>
|
||||
<MenuItem value="1_hora">1 hora</MenuItem>
|
||||
{/* <MenuItem value="1_dia">1 dia</MenuItem>
|
||||
<MenuItem value="1_mes">1 mês</MenuItem> */}
|
||||
</Select>
|
||||
</FormControl>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user