diff --git a/ui/src/config/section/offering.js b/ui/src/config/section/offering.js index 1ec2d40d181..64678de2daf 100644 --- a/ui/src/config/section/offering.js +++ b/ui/src/config/section/offering.js @@ -150,7 +150,7 @@ export default { label: 'label.edit', docHelp: 'adminguide/service_offerings.html#modifying-or-deleting-a-service-offering', dataView: true, - args: ['name', 'displaytext'] + args: ['name', 'displaytext', 'tags'] }, { api: 'updateDiskOffering', icon: 'lock', @@ -216,7 +216,7 @@ export default { label: 'label.edit', docHelp: 'adminguide/service_offerings.html#modifying-or-deleting-a-service-offering', dataView: true, - args: ['name', 'displaytext', 'availability'], + args: ['name', 'displaytext', 'availability', 'tags'], mapping: { availability: { options: ['Optional', 'Required'] diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index 7e14f9e609f..795a5d85c70 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -983,13 +983,13 @@ export default { continue } if (!input === undefined || input === null || - (input === '' && !['updateStoragePool', 'updateHost', 'updatePhysicalNetwork'].includes(action.api))) { + (input === '' && !['updateStoragePool', 'updateHost', 'updatePhysicalNetwork', 'updateDiskOffering', 'updateNetworkOffering'].includes(action.api))) { if (param.type === 'boolean') { params[key] = false } break } - if (!input) { + if (!input && !['tags'].includes(key)) { continue } if (action.mapping && key in action.mapping && action.mapping[key].options) {