mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Include default resource refresh rate
This commit is contained in:
parent
62e294a715
commit
206e5034c5
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ import Uptime from "./uptime";
|
||||||
export default function Resources({ options }) {
|
export default function Resources({ options }) {
|
||||||
const { expanded, units } = options;
|
const { expanded, units } = options;
|
||||||
let { refresh } = options;
|
let { refresh } = options;
|
||||||
|
if (!refresh) refresh = 1500;
|
||||||
refresh = Math.max(refresh, 1000);
|
refresh = Math.max(refresh, 1000);
|
||||||
return <Container options={options}>
|
return <Container options={options}>
|
||||||
<Raw>
|
<Raw>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue