Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ui/public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3348,6 +3348,7 @@
"message.reset.vpn.connection": "Please confirm that you want to reset VPN connection.",
"message.linstor.resourcegroup.description": "Linstor resource group to use for primary storage.",
"message.resize.volume.failed": "Failed to resize volume.",
"message.resize.volume.processing": "Volume resize is in progress",
"message.resource.not.found": "Resource not found.",
"message.restart.mgmt.server": "Please restart your management server(s) for your new settings to take effect.",
"message.restart.mgmt.usage.server": "Please restart your management server(s) and usage server(s) for your new settings to take effect.",
Expand Down
8 changes: 5 additions & 3 deletions ui/src/views/storage/ResizeVolume.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export default {
return {
offerings: [],
customDiskOffering: false,
loading: false
loading: false,
customDiskOfferingIops: false
}
},
created () {
Expand All @@ -98,6 +99,7 @@ export default {
this.offerings = json.listdiskofferingsresponse.diskoffering || []
this.form.diskofferingid = this.offerings[0].id || ''
this.customDiskOffering = this.offerings[0].iscustomized || false
this.customDiskOfferingIops = this.offerings[0].iscustomizediops || false
}).finally(() => {
this.loading = false
})
Expand All @@ -112,15 +114,15 @@ export default {
api('resizeVolume', values).then(response => {
this.$pollJob({
jobId: response.resizevolumeresponse.jobid,
title: this.$t('message.success.resize.volume'),
title: this.$t('label.action.resize.volume'),
description: values.name,
successMessage: this.$t('message.success.resize.volume'),
successMethod: () => {},
errorMessage: this.$t('message.resize.volume.failed'),
errorMethod: () => {
this.closeModal()
},
loadingMessage: `Volume resize is in progress`,
loadingMessage: this.$t('message.resize.volume.processing'),
catchMessage: this.$t('error.fetching.async.job.result'),
catchMethod: () => {
this.loading = false
Expand Down