mirror of https://github.com/apache/cloudstack.git
Remove extra bracket is display message (#767)
Also display proper error message for required field while registering template Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
e2f898a828
commit
eda6929b79
|
|
@ -62,7 +62,7 @@
|
|||
<a-form-item :label="$t('label.name')">
|
||||
<a-input
|
||||
v-decorator="['name', {
|
||||
rules: [{ required: true, message: `${this.$t('label.upload.template.from.local')}` }]
|
||||
rules: [{ required: true, message: `${this.$t('message.error.required.input')}` }]
|
||||
}]"
|
||||
:placeholder="apiParams.name.description" />
|
||||
</a-form-item>
|
||||
|
|
|
|||
|
|
@ -650,7 +650,7 @@ export default {
|
|||
params.storagepolicy = values.storagepolicy
|
||||
}
|
||||
api('createDiskOffering', params).then(json => {
|
||||
this.$message.success(`${this.$t('message.disk.offering.created')} ${values.name}}`)
|
||||
this.$message.success(`${this.$t('message.disk.offering.created')} ${values.name}`)
|
||||
this.$emit('refresh-data')
|
||||
this.closeAction()
|
||||
}).catch(error => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue