diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index ff75a6d2697..8d2d1353c30 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -1358,6 +1358,20 @@ export default { if ('id' in this.resource && action.params.map(i => { return i.name }).includes('id')) { params.id = this.resource.id } + + if (['updateDiskOffering'].includes(action.api) && values.tags === this.resource.tags) { + delete values.tags + } + + if (['updateServiceOffering'].includes(action.api)) { + if (values.hosttags === this.resource.hosttags) { + delete values.hosttags + } + if (values.storagetags === this.resource.storagetags) { + delete values.tags + } + } + for (const key in values) { const input = values[key] for (const param of action.params) {