Add notification message on successful namespace delete

This commit is contained in:
Atanas Yonkov
2022-12-22 17:01:36 +02:00
parent 2544083584
commit 97fc50d2cd
2 changed files with 5 additions and 1 deletions
@@ -568,9 +568,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' })
})
},
@@ -59,6 +59,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