diff --git a/ui/src/views/storage/ResizeVolume.vue b/ui/src/views/storage/ResizeVolume.vue index 5f9efd6ed506..25b7c3ff6b32 100644 --- a/ui/src/views/storage/ResizeVolume.vue +++ b/ui/src/views/storage/ResizeVolume.vue @@ -144,11 +144,7 @@ export default { }) this.closeModal() }).catch(error => { - this.$notification.error({ - message: `${this.$t('label.error')} ${error.response.status}`, - description: error.response.data.errorresponse.errortext, - duration: 0 - }) + this.$notifyError(error) }).finally(() => { this.loading = false })