UI: Fix Autogenview cleared resource (#6066)

This commit is contained in:
Nicolas Vazquez 2022-03-08 07:53:22 -03:00 committed by GitHub
parent 84f19d8f36
commit e4d70d4214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}