Selaa lähdekoodia

Merge pull request #2637 from porter-dev/fix/project-settings-tabs

fix: project settings tabs
jusrhee 3 vuotta sitten
vanhempi
sitoutus
b172a74bd4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 });
     }