UI: Remove superseded calls to remove PBA files

These calls were made unnecessary by 826d409d.
This commit is contained in:
Mike Salvatore 2022-07-13 10:48:50 -04:00
parent 33e68979d9
commit 28b01a0d0e
1 changed files with 1 additions and 9 deletions

View File

@ -233,17 +233,9 @@ class ConfigurePageComponent extends AuthComponent {
this.updateConfig(); this.updateConfig();
this.props.onStatusChange(); this.props.onStatusChange();
} }
).then(() => { );
this.removePBAfile(API_PBA_WINDOWS, this.setPbaFilenameWindows)
this.removePBAfile(API_PBA_LINUX, this.setPbaFilenameLinux)
});
}; };
removePBAfile(apiEndpoint, setFilenameFnc) {
this.sendPbaRemoveRequest(apiEndpoint)
setFilenameFnc('')
}
sendPbaRemoveRequest(apiEndpoint) { sendPbaRemoveRequest(apiEndpoint) {
let request_options = { let request_options = {
method: 'DELETE', method: 'DELETE',