don't show if there is a displayName set (#30647)
fixes: #30582 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
287916997e
commit
cb048c9700
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ export default function NewAttributeSettings() {
|
||||||
(translation) => translation.value.trim() !== "",
|
(translation) => translation.value.trim() !== "",
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!hasNonEmptyTranslations) {
|
if (!hasNonEmptyTranslations && !formFields.displayName) {
|
||||||
addError("createAttributeError", t("translationError"));
|
addError("createAttributeError", t("translationError"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue