diff --git a/src/views/applications/DatabaseApp/DatabaseAppList.vue b/src/views/applications/DatabaseApp/DatabaseAppList.vue index bb52d2f76..28ebce429 100644 --- a/src/views/applications/DatabaseApp/DatabaseAppList.vue +++ b/src/views/applications/DatabaseApp/DatabaseAppList.vue @@ -37,12 +37,12 @@ export default { actions: { prop: '', formatterArgs: { - onDelete: function({ row, col, cellValue, reload }) { + performDelete: function({ row, col, cellValue, reload }) { this.$axios.delete( `/api/v1/applications/applications/${row.id}/` ).then(res => { this.$refs.GenericListTable.$refs.ListTable.reloadTable() - this.$message.success(this.$t('common.deleteSuccessMsg')) + // this.$message.success(this.$t('common.deleteSuccessMsg')) }).catch(error => { this.$message.error(this.$t('common.deleteErrorMsg' + ' ' + error)) }) diff --git a/src/views/applications/KubernetesApp/KubernetesAppList.vue b/src/views/applications/KubernetesApp/KubernetesAppList.vue index bd123b552..45d75d638 100644 --- a/src/views/applications/KubernetesApp/KubernetesAppList.vue +++ b/src/views/applications/KubernetesApp/KubernetesAppList.vue @@ -29,12 +29,12 @@ export default { actions: { prop: '', formatterArgs: { - onDelete: function({ row, col, cellValue, reload }) { + performDelete: function({ row, col, cellValue, reload }) { this.$axios.delete( `/api/v1/applications/applications/${row.id}/` ).then(res => { this.$refs.GenericListTable.$refs.ListTable.reloadTable() - this.$message.success(this.$t('common.deleteSuccessMsg')) + // this.$message.success(this.$t('common.deleteSuccessMsg')) }).catch(error => { this.$message.error(this.$t('common.deleteErrorMsg' + ' ' + error)) }) diff --git a/src/views/applications/RemoteApp/RemoteAppList.vue b/src/views/applications/RemoteApp/RemoteAppList.vue index 976547662..ed550a17f 100644 --- a/src/views/applications/RemoteApp/RemoteAppList.vue +++ b/src/views/applications/RemoteApp/RemoteAppList.vue @@ -38,12 +38,12 @@ export default { onUpdate: ({ row }) => { vm.$router.push({ name: 'RemoteAppUpdate', params: { id: row.id }, query: { type: row.type }}) }, - onDelete: function({ row, col, cellValue, reload }) { + performDelete: function({ row, col, cellValue, reload }) { this.$axios.delete( `/api/v1/applications/applications/${row.id}/` ).then(res => { this.$refs.GenericListTable.$refs.ListTable.reloadTable() - this.$message.success(this.$t('common.deleteSuccessMsg')) + // this.$message.success(this.$t('common.deleteSuccessMsg')) }).catch(error => { this.$message.error(this.$t('common.deleteErrorMsg' + ' ' + error)) })