diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index eab0f1a83d0..102535af6ff 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -940,7 +940,7 @@ export default { } } if (this.items.length > 0) { - if (!this.showAction) { + if (!this.showAction || this.dataView) { this.resource = this.items[0] this.$emit('change-resource', this.resource) }