Add notification message on successful namespace delete

This commit is contained in:
Atanas Yonkov
2022-12-22 16:57:34 +02:00
parent 2ed398f30f
commit a4bbd7727d
2 changed files with 5 additions and 1 deletions
@@ -595,9 +595,12 @@ export default {
return this.$SystemAPI.applicationDelete({ applicationID })
}
})
.then(() => {
this.$router.push({ name: 'namespace.manage' })
this.toastSuccess(this.$t('notification:namespace.deleted'))
})
.finally(() => {
this.processing = false
this.$router.push({ name: 'namespace.manage' })
})
},
@@ -60,6 +60,7 @@ namespace:
saveFailed: Could not save namespace application
assetUploadFailed: Could not upload attached assets
createFailed: Could not create namespace
deleted: Namespace deleted
deleteFailed: Could not delete this namespace
disabled: Namespace disabled - redirecting
saveFailed: Could not save this namespace