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 25, 2024
1 parent cbf304a commit 5ee2ea5
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 5ee2ea5

Please sign in to comment.