From e4d70d4214465914b3c2639968501570b3d424e4 Mon Sep 17 00:00:00 2001 From: Nicolas Vazquez Date: Tue, 8 Mar 2022 07:53:22 -0300 Subject: [PATCH] UI: Fix Autogenview cleared resource (#6066) --- ui/src/views/AutogenView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }