mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fixes - prev commit missing
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
3dc6b44c33
commit
153e958c02
@ -810,10 +810,7 @@ export default {
|
||||
params.zoneid = zoneId
|
||||
}
|
||||
api('createServiceOffering', params).then(json => {
|
||||
this.$notification.success({
|
||||
message: this.isSystem ? 'Service offering created' : 'Compute offering created',
|
||||
description: this.isSystem ? 'Service offering created' : 'Compute offering created'
|
||||
})
|
||||
this.$message.success((this.isSystem ? 'Service offering created: ' : 'Compute offering created: ') + values.name)
|
||||
}).catch(error => {
|
||||
this.$notification.error({
|
||||
message: 'Request Failed',
|
||||
|
||||
@ -493,7 +493,7 @@ export default {
|
||||
params.zoneid = zoneId
|
||||
}
|
||||
api('createDiskOffering', params).then(json => {
|
||||
this.$message.success('Diskoffering created: ' + values.name)
|
||||
this.$message.success('Disk offering created: ' + values.name)
|
||||
}).catch(error => {
|
||||
this.$notification.error({
|
||||
message: 'Request Failed',
|
||||
|
||||
@ -838,10 +838,7 @@ export default {
|
||||
}
|
||||
params.traffictype = 'GUEST' // traffic type dropdown has been removed since it has only one option ('Guest'). Hardcode traffic type value here.
|
||||
api('createNetworkOffering', params).then(json => {
|
||||
this.$notification.success({
|
||||
message: 'Network offering created',
|
||||
description: 'Network offering created'
|
||||
})
|
||||
this.$message.success('Network offering created: ' + values.name)
|
||||
}).catch(error => {
|
||||
this.$notification.error({
|
||||
message: 'Request Failed',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user