fix telemetry inputs error
This commit is contained in:
parent
56949556f2
commit
a6bab6a6e1
@ -122,9 +122,11 @@ export default function Telemetria({userName, clients}: any) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const handleChangeStartDate = (newValue: Date | null) => {
|
const handleChangeStartDate = (newValue: Date | null) => {
|
||||||
|
console.log(newValue)
|
||||||
setStartDate(newValue)
|
setStartDate(newValue)
|
||||||
};
|
};
|
||||||
const handleChangeEndDate = (newValue: Date | null) => {
|
const handleChangeEndDate = (newValue: Date | null) => {
|
||||||
|
console.log(newValue)
|
||||||
setEndDate(newValue)
|
setEndDate(newValue)
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -327,7 +329,7 @@ export default function Telemetria({userName, clients}: any) {
|
|||||||
:
|
:
|
||||||
new Date(startDate).setUTCDate(startDate.getUTCDate()+1)
|
new Date(startDate).setUTCDate(startDate.getUTCDate()+1)
|
||||||
}
|
}
|
||||||
onChange={handleChangeEndDate}
|
onChange={(newValue: any) => handleChangeEndDate(newValue)}
|
||||||
renderInput={(params) => <TextField {...params} sx={{ml: 1}}/>}
|
renderInput={(params) => <TextField {...params} sx={{ml: 1}}/>}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user