mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 23:25:55 -05:00
cleanup unnecessary logging & such
This commit is contained in:
parent
eb8f6f3ae1
commit
e272075941
@ -80,10 +80,8 @@ function App() {
|
|||||||
setTimeZoneName(resp.response.timeZoneName);
|
setTimeZoneName(resp.response.timeZoneName);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
console.debug("Toplevel fetch num", fetchSeq);
|
|
||||||
doFetch(abort.signal);
|
doFetch(abort.signal);
|
||||||
return () => {
|
return () => {
|
||||||
console.log("Aborting toplevel fetch num", fetchSeq);
|
|
||||||
abort.abort();
|
abort.abort();
|
||||||
};
|
};
|
||||||
}, [fetchSeq]);
|
}, [fetchSeq]);
|
||||||
|
@ -44,7 +44,6 @@ function MoonfireMenu(props: Props) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleClose = () => {
|
const handleClose = () => {
|
||||||
console.log("handleAccountMenuClose");
|
|
||||||
setAccountMenuAnchor(null);
|
setAccountMenuAnchor(null);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ const StreamMultiSelector = ({ cameras, selected, setSelected }: Props) => {
|
|||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
const setStream = (s: Stream, checked: boolean) => {
|
const setStream = (s: Stream, checked: boolean) => {
|
||||||
console.log("toggle", s.camera.shortName, s.streamType);
|
|
||||||
const updated = new Set(selected);
|
const updated = new Set(selected);
|
||||||
if (checked) {
|
if (checked) {
|
||||||
updated.add(s);
|
updated.add(s);
|
||||||
@ -110,7 +109,6 @@ const StreamMultiSelector = ({ cameras, selected, setSelected }: Props) => {
|
|||||||
<Card
|
<Card
|
||||||
sx={{
|
sx={{
|
||||||
padding: theme.spacing(1),
|
padding: theme.spacing(1),
|
||||||
marginBottom: theme.spacing(2),
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<table className={classes.streamSelectorTable}>
|
<table className={classes.streamSelectorTable}>
|
||||||
|
@ -278,7 +278,6 @@ const TimerangeSelector = ({
|
|||||||
<MyTimePicker
|
<MyTimePicker
|
||||||
value={startTime}
|
value={startTime}
|
||||||
onChange={(newValue) => {
|
onChange={(newValue) => {
|
||||||
console.log("start time onChange", newValue);
|
|
||||||
if (newValue === null || isFinite((newValue as Date).getTime())) {
|
if (newValue === null || isFinite((newValue as Date).getTime())) {
|
||||||
setStartTime(newValue);
|
setStartTime(newValue);
|
||||||
}
|
}
|
||||||
|
@ -123,7 +123,6 @@ const Main = ({ cameras, timeZoneName, showMenu }: Props) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
const closeModal = (event: {}, reason: string) => {
|
const closeModal = (event: {}, reason: string) => {
|
||||||
console.log("closeModal", reason);
|
|
||||||
setActiveRecording(null);
|
setActiveRecording(null);
|
||||||
};
|
};
|
||||||
const recordingsTable = (
|
const recordingsTable = (
|
||||||
|
Loading…
Reference in New Issue
Block a user