Explorar el Código

fix: project settings tabs

Soham Parekh hace 3 años
padre
commit
d9ab58987c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dashboard/src/main/home/project-settings/ProjectSettings.tsx

+ 1 - 1
dashboard/src/main/home/project-settings/ProjectSettings.tsx

@@ -99,7 +99,7 @@ class ProjectSettings extends Component<PropsType, StateType> {
       });
     }
 
-    if (_.isEqual(tabOptions, this.state.tabOptions)) {
+    if (!_.isEqual(tabOptions, this.state.tabOptions)) {
       this.setState({ tabOptions });
     }