This commit is contained in:
Yuri Kuznetsov
2023-09-05 13:52:43 +03:00
parent 384aed2a91
commit 2171f9c848
+1 -1
View File
@@ -36,7 +36,7 @@ class JsonObjectFieldView extends BaseFieldView {
detailTemplate = 'fields/json-object/detail'
data() {
const data = super.setup();
const data = super.data();
data.valueIsSet = this.model.has(this.name);
data.isNotEmpty = !!this.model.get(this.name);