@onehat/ui 0.3.142 → 0.3.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -112,7 +112,7 @@ export default function withSecondaryEditor(WrappedComponent, isTree = false) {
|
|
|
112
112
|
addValues[secondarySelectorId] = secondarySelectorSelected.id;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
if (
|
|
115
|
+
if (getNewEntityDisplayValue()) {
|
|
116
116
|
const displayPropertyName = SecondaryRepository.getSchema().model.displayProperty;
|
|
117
117
|
addValues[displayPropertyName] = getNewEntityDisplayValue();
|
|
118
118
|
}
|
|
@@ -109,7 +109,7 @@ export default function withEditor(WrappedComponent, isTree = false) {
|
|
|
109
109
|
addValues[selectorId] = selectorSelected.id;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
if (
|
|
112
|
+
if (getNewEntityDisplayValue()) {
|
|
113
113
|
const displayPropertyName = Repository.getSchema().model.displayProperty;
|
|
114
114
|
addValues[displayPropertyName] = getNewEntityDisplayValue();
|
|
115
115
|
}
|