diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index 9587ed15d56..52b82b70799 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -921,7 +921,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) }