diff options
Diffstat (limited to 'src/store/modules/Settings/SnmpAlertsStore.js')
-rw-r--r-- | src/store/modules/Settings/SnmpAlertsStore.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/store/modules/Settings/SnmpAlertsStore.js b/src/store/modules/Settings/SnmpAlertsStore.js index f945ee3a..0871c8d8 100644 --- a/src/store/modules/Settings/SnmpAlertsStore.js +++ b/src/store/modules/Settings/SnmpAlertsStore.js @@ -30,7 +30,7 @@ const SnmpAlertsStore = { 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 @@ const SnmpAlertsStore = { .then(() => i18n.t('pageSnmpAlerts.toast.successDeleteDestination', { id, - }) + }), ) .catch((error) => { console.log(error); @@ -59,7 +59,7 @@ const SnmpAlertsStore = { 'pageSnmpAlerts.toast.errorDeleteDestination', { id, - } + }, ); throw new Error(message); }); @@ -86,7 +86,7 @@ const SnmpAlertsStore = { if (successCount) { const message = i18n.tc( 'pageSnmpAlerts.toast.successBatchDelete', - successCount + successCount, ); toastMessages.push({ type: 'success', message }); } @@ -94,13 +94,13 @@ const SnmpAlertsStore = { if (errorCount) { const message = i18n.tc( 'pageSnmpAlerts.toast.errorBatchDelete', - errorCount + errorCount, ); toastMessages.push({ type: 'error', message }); } return toastMessages; - }) + }), ); }, async addDestination({ dispatch }, { data }) { |