UI: Fix formatting in ConfigurePage.js for consistency

This commit is contained in:
Shreya Malviya 2022-07-13 19:04:57 +05:30
parent 6eed07dd36
commit 060250e021
1 changed files with 6 additions and 5 deletions

View File

@ -233,11 +233,12 @@ class ConfigurePageComponent extends AuthComponent {
this.updateConfig(); this.updateConfig();
this.props.onStatusChange(); this.props.onStatusChange();
} }
).then(() => { )
this.removePBAfile(API_PBA_WINDOWS, this.setPbaFilenameWindows) .then(() => {
this.removePBAfile(API_PBA_LINUX, this.setPbaFilenameLinux) this.removePBAfile(API_PBA_WINDOWS, this.setPbaFilenameWindows)
}) this.removePBAfile(API_PBA_LINUX, this.setPbaFilenameLinux)
.then(this.authFetch('/api/propagation-credentials/configured-credentials', {method: 'DELETE'})); })
.then(this.authFetch('/api/propagation-credentials/configured-credentials', {method: 'DELETE'}));
}; };
removePBAfile(apiEndpoint, setFilenameFnc) { removePBAfile(apiEndpoint, setFilenameFnc) {