From 060250e021987c1a7ed5caa5b54093e1fcfbe7a6 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 13 Jul 2022 19:04:57 +0530 Subject: [PATCH] UI: Fix formatting in ConfigurePage.js for consistency --- .../cc/ui/src/components/pages/ConfigurePage.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index d711ab017..9590fced2 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -233,11 +233,12 @@ class ConfigurePageComponent extends AuthComponent { this.updateConfig(); this.props.onStatusChange(); } - ).then(() => { - 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.removePBAfile(API_PBA_WINDOWS, this.setPbaFilenameWindows) + this.removePBAfile(API_PBA_LINUX, this.setPbaFilenameLinux) + }) + .then(this.authFetch('/api/propagation-credentials/configured-credentials', {method: 'DELETE'})); }; removePBAfile(apiEndpoint, setFilenameFnc) {