mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Include default resource refresh rate
This commit is contained in:
parent
62e294a715
commit
206e5034c5
@ -10,6 +10,7 @@ import Uptime from "./uptime";
|
||||
export default function Resources({ options }) {
|
||||
const { expanded, units } = options;
|
||||
let { refresh } = options;
|
||||
if (!refresh) refresh = 1500;
|
||||
refresh = Math.max(refresh, 1000);
|
||||
return <Container options={options}>
|
||||
<Raw>
|
||||
|
Loading…
x
Reference in New Issue
Block a user