Reformat files with new linter
All changes should be whitespace, and were done using npm run-script
lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/src/store/modules/SecurityAndAccess/LdapStore.js b/src/store/modules/SecurityAndAccess/LdapStore.js
index 5aa31c2..edb063c 100644
--- a/src/store/modules/SecurityAndAccess/LdapStore.js
+++ b/src/store/modules/SecurityAndAccess/LdapStore.js
@@ -56,7 +56,7 @@
} = {},
} = {},
RemoteRoleMapping = [],
- }
+ },
) => {
state.ldap.serviceAddress = ServiceAddresses[0];
state.ldap.serviceEnabled = ServiceEnabled;
@@ -80,7 +80,7 @@
} = {},
} = {},
RemoteRoleMapping = [],
- }
+ },
) => {
state.activeDirectory.serviceEnabled = ServiceEnabled;
state.activeDirectory.serviceAddress = ServiceAddresses[0];
@@ -137,7 +137,7 @@
.catch((error) => {
console.log(error);
throw new Error(
- i18n.t('pageLdap.toast.errorSaveActiveDirectorySettings')
+ i18n.t('pageLdap.toast.errorSaveActiveDirectorySettings'),
);
});
},
@@ -152,7 +152,7 @@
baseDn,
userIdAttribute,
groupIdAttribute,
- }
+ },
) {
const data = {
ServiceEnabled: serviceEnabled,
@@ -180,7 +180,7 @@
},
async addNewRoleGroup(
{ dispatch, getters },
- { groupName, groupPrivilege }
+ { groupName, groupPrivilege },
) {
const data = {};
const enabledRoleGroups = getters['enabledRoleGroups'];
@@ -203,7 +203,7 @@
.then(() =>
i18n.t('pageLdap.toast.successAddRoleGroup', {
groupName,
- })
+ }),
)
.catch((error) => {
console.log(error);
@@ -233,7 +233,7 @@
.patch('/redfish/v1/AccountService', data)
.then(() => dispatch('getAccountSettings'))
.then(() =>
- i18n.t('pageLdap.toast.successSaveRoleGroup', { groupName })
+ i18n.t('pageLdap.toast.successSaveRoleGroup', { groupName }),
)
.catch((error) => {
console.log(error);
@@ -260,12 +260,12 @@
.patch('/redfish/v1/AccountService', data)
.then(() => dispatch('getAccountSettings'))
.then(() =>
- i18n.tc('pageLdap.toast.successDeleteRoleGroup', roleGroups.length)
+ i18n.tc('pageLdap.toast.successDeleteRoleGroup', roleGroups.length),
)
.catch((error) => {
console.log(error);
throw new Error(
- i18n.tc('pageLdap.toast.errorDeleteRoleGroup', roleGroups.length)
+ i18n.tc('pageLdap.toast.errorDeleteRoleGroup', roleGroups.length),
);
});
},