Skip to content

Commit

Permalink
Fix: resources network better startup behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon committed Nov 27, 2024
1 parent cbf304a commit 385511f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/widgets/resources/network.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Network({ options, refresh = 1500 }) {
return <Error />;
}

if (!data || !data.network) {
if (!data || !data.network || !data.network.rx_sec || !data.network.tx_sec) {
return (
<Resource
icon={FaNetworkWired}
Expand Down

0 comments on commit 385511f

Please sign in to comment.