diff --git a/client/web/compose/src/views/Namespace/Edit.vue b/client/web/compose/src/views/Namespace/Edit.vue index af0e95334..ef0a686c1 100644 --- a/client/web/compose/src/views/Namespace/Edit.vue +++ b/client/web/compose/src/views/Namespace/Edit.vue @@ -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' }) }) }, diff --git a/locale/en/corteza-webapp-compose/notification.yaml b/locale/en/corteza-webapp-compose/notification.yaml index 811895f78..303865425 100644 --- a/locale/en/corteza-webapp-compose/notification.yaml +++ b/locale/en/corteza-webapp-compose/notification.yaml @@ -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