mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 23:38:46 +00:00
Fix: resources network better startup behavior
This commit is contained in:
parent
cbf304a4c8
commit
385511f773
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ export default function Network({ options, refresh = 1500 }) {
|
||||||
return <Error />;
|
return <Error />;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data || !data.network) {
|
if (!data || !data.network || !data.network.rx_sec || !data.network.tx_sec) {
|
||||||
return (
|
return (
|
||||||
<Resource
|
<Resource
|
||||||
icon={FaNetworkWired}
|
icon={FaNetworkWired}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue