bug fix
This commit is contained in:
parent
0c1f72f5e6
commit
1c4788a3f5
|
@ -640,7 +640,7 @@ public class WordBuilderImpl implements WordBuilder {
|
|||
if (referenceModel.getDescription() != null && !referenceModel.getDescription().isBlank()) {
|
||||
label = (label.isBlank() ? "" : " ") + referenceModel.getDescription();
|
||||
}
|
||||
createHypeLink(mainDocumentPart, label, referenceModel.getDefinition().getFields().stream().filter(x -> x.getCode().equals("pidTypeField")).map(ReferenceFieldModel::getValue).findFirst().orElse(null), referenceModel.getReference(), hasMultiplicityItems, isMultiAutoComplete && fieldValueModel.getReferences().size() > 1);
|
||||
createHypeLink(mainDocumentPart, label, referenceModel.getDefinition() != null && referenceModel.getDefinition().getFields() != null ? referenceModel.getDefinition().getFields().stream().filter(x -> x.getCode().equals("pidTypeField")).map(ReferenceFieldModel::getValue).findFirst().orElse(null) : null, referenceModel.getReference(), hasMultiplicityItems, isMultiAutoComplete && fieldValueModel.getReferences().size() > 1);
|
||||
}
|
||||
if (hasMultiplicityItems) hasMultiplicityItems = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue