Просмотр исходного кода

Added unlimited cluster limit to dashboard

jnfrati 4 лет назад
Родитель
Сommit
b43c66979c
1 измененных файлов с 1 добавлено и 0 удалено
  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 =