name => entityType

This commit is contained in:
Yuri Kuznetsov
2023-07-08 14:22:05 +03:00
parent ece7d1f3b4
commit b11bfb0e92
88 changed files with 206 additions and 200 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ define('views/fields/foreign-array', ['views/fields/array'], function (Dep) {
return;
}
let scope = this.getMetadata().get(['entityDefs', this.model.name, 'links', link, 'entity']);
let scope = this.getMetadata().get(['entityDefs', this.model.entityType, 'links', link, 'entity']);
if (!scope) {
return;