Skip to content

Commit f916336

Browse files
committed
Hide memory charts if no resource quota
1 parent 67f841c commit f916336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/Namespaces/ResourcesUsage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const ResourcesUsage = ({ namespace }) => {
138138
pollingInterval: 3300,
139139
},
140140
);
141-
141+
if (resourceQuotas?.length < 1) return null;
142142
return (
143143
<>
144144
<div className="item-wrapper tall">

0 commit comments

Comments
 (0)