Explorar o código

Added unlimited cluster limit to dashboard

jnfrati %!s(int64=4) %!d(string=hai) anos
pai
achega
b43c66979c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 =