jusrhee 5 лет назад
Родитель
Сommit
f84dece654

+ 0 - 3
dashboard/src/main/home/cluster-dashboard/expanded-chart/status/ControllerTab.tsx

@@ -210,9 +210,6 @@ export default class ControllerTab extends Component<PropsType, StateType> {
       >
         {this.state.raw.map((pod, i) => {
           let status = this.getPodStatus(pod.status);
-          if (i === 2) {
-            status = "failed";
-          }
           return (
             <Tab
               key={pod.metadata?.name}

+ 3 - 1
dashboard/src/main/home/modals/LoadEnvGroupModal.tsx

@@ -76,7 +76,7 @@ export default class LoadEnvGroupModal extends Component<PropsType, StateType> {
     } else if (this.state.envGroups.length === 0) {
       return (
         <Placeholder>
-          No environment groups found in this namespace ({this.props.namespace})
+          No environment groups found in this namespace ({this.props.namespace}).
         </Placeholder>
       );
     } else {
@@ -130,6 +130,8 @@ const Placeholder = styled.div`
   display: flex;
   align-items: center;
   justify-content: center;
+  color: #aaaabb;
+  font-size: 13px;
 `;
 
 const LoadingWrapper = styled.div`