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/Settings/SnmpAlertsStore.js b/src/store/modules/Settings/SnmpAlertsStore.js
index f945ee3..0871c8d 100644
--- a/src/store/modules/Settings/SnmpAlertsStore.js
+++ b/src/store/modules/Settings/SnmpAlertsStore.js
@@ -30,7 +30,7 @@
return await api
.get(snmpAlertUrl)
.then((response) =>
- response.data.Members.map((user) => user['@odata.id'])
+ response.data.Members.map((user) => user['@odata.id']),
)
.then((userIds) => api.all(userIds.map((user) => api.get(user))))
.then((users) => {
@@ -51,7 +51,7 @@
.then(() =>
i18n.t('pageSnmpAlerts.toast.successDeleteDestination', {
id,
- })
+ }),
)
.catch((error) => {
console.log(error);
@@ -59,7 +59,7 @@
'pageSnmpAlerts.toast.errorDeleteDestination',
{
id,
- }
+ },
);
throw new Error(message);
});
@@ -86,7 +86,7 @@
if (successCount) {
const message = i18n.tc(
'pageSnmpAlerts.toast.successBatchDelete',
- successCount
+ successCount,
);
toastMessages.push({ type: 'success', message });
}
@@ -94,13 +94,13 @@
if (errorCount) {
const message = i18n.tc(
'pageSnmpAlerts.toast.errorBatchDelete',
- errorCount
+ errorCount,
);
toastMessages.push({ type: 'error', message });
}
return toastMessages;
- })
+ }),
);
},
async addDestination({ dispatch }, { data }) {