u
This commit is contained in:
@@ -43,7 +43,11 @@ export default class CompanySettingsPanel extends Component {
|
||||
this.syncFormFromCompany(state.current);
|
||||
}
|
||||
});
|
||||
void this.loadCompany();
|
||||
if (companyAutomat.state.current) {
|
||||
this.syncFormFromCompany(companyAutomat.state.current);
|
||||
} else {
|
||||
void this.loadCompany();
|
||||
}
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
||||
Reference in New Issue
Block a user