diff --git a/ui/src/Components/NavBar/index.js b/ui/src/Components/NavBar/index.js index a556e3100..215b9e34c 100644 --- a/ui/src/Components/NavBar/index.js +++ b/ui/src/Components/NavBar/index.js @@ -19,6 +19,9 @@ import { FilterInput } from "./FilterInput"; import "./index.css"; +const DesktopIdleTimeout = 1000 * 60 * 3; +const MobileIdleTimeout = 1000 * 5; + const NavbarOnResize = function(width, height) { document.body.style["padding-top"] = `${height + 4}px`; }; @@ -66,7 +69,9 @@ const NavBar = observer( = 768 ? DesktopIdleTimeout : MobileIdleTimeout + } >