Răsfoiți Sursa

Added unlimited cluster limit to dashboard

jnfrati 4 ani în urmă
părinte
comite
b43c66979c
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      dashboard/src/main/home/dashboard/Dashboard.tsx

+ 1 - 0
dashboard/src/main/home/dashboard/Dashboard.tsx

@@ -112,6 +112,7 @@ class Dashboard extends Component<PropsType, StateType> {
       let helperColor = "white";
       if (
         this.context.hasBillingEnabled &&
+        this.context.usage.current.clusters !== 0 &&
         this.context.usage.current.clusters >= this.context.usage.limit.clusters
       ) {
         helperText =