Explorar el Código

don't force-show provisioner

jusrhee hace 5 años
padre
commit
5e0b9e76c7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dashboard/src/main/home/Home.tsx

+ 1 - 1
dashboard/src/main/home/Home.tsx

@@ -75,7 +75,7 @@ export default class Home extends Component<PropsType, StateType> {
               });
               
               console.log('infras viewdata: ', viewData);
-              if (true || viewData.length > 0) {
+              if (viewData.length > 0) {
                 console.log('setting to provisioner...');
                 this.setState({ currentView: 'provisioner', viewData});
               }