Unable to Delete dumps and incorrect toast message
Unable to delete all dumps and displaying incorrect event log delete message
Able to delete all the Dumps
Approriate message is displayed in toast after deleting Event logs
Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com>
Change-Id: I1169bcd8e6308d50baf5c7ddcab5c511edcbc875
diff --git a/src/views/Logs/EventLogs/EventLogs.vue b/src/views/Logs/EventLogs/EventLogs.vue
index 9487211..5b8ca11 100644
--- a/src/views/Logs/EventLogs/EventLogs.vue
+++ b/src/views/Logs/EventLogs/EventLogs.vue
@@ -538,7 +538,11 @@
'eventLog/deleteAllEventLogs',
this.selectedRows.length
)
- .then((message) => this.successToast(message))
+ .then(() => {
+ this.successToast(
+ this.$tc('pageEventLogs.toast.successDelete', uris.length)
+ );
+ })
.catch(({ message }) => this.errorToast(message));
} else {
this.deleteLogs(uris);