Procházet zdrojové kódy

Added unlimited cluster limit to dashboard

jnfrati před 4 roky
rodič
revize
b43c66979c
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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";
       let helperColor = "white";
       if (
       if (
         this.context.hasBillingEnabled &&
         this.context.hasBillingEnabled &&
+        this.context.usage.current.clusters !== 0 &&
         this.context.usage.current.clusters >= this.context.usage.limit.clusters
         this.context.usage.current.clusters >= this.context.usage.limit.clusters
       ) {
       ) {
         helperText =
         helperText =