We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f64566 commit e96358eCopy full SHA for e96358e
1 file changed
Kitodo/src/main/java/org/kitodo/production/forms/dataeditor/MetadataPanel.java
@@ -147,7 +147,9 @@ public ProcessFieldedMetadata getPhysicalMetadataTable() {
147
}
148
149
void showLogical(Optional<LogicalDivision> optionalStructure) {
150
- if (optionalStructure.isPresent() && Objects.isNull(optionalStructure.get().getLink())) {
+ if (optionalStructure.isPresent() && Objects.isNull(optionalStructure.get().getLink())
151
+ && Objects.nonNull(optionalStructure.get().getType())
152
+ && !optionalStructure.get().getType().isBlank()) {
153
logicalMetadataTable = createProcessFieldedMetadata(optionalStructure.get());
154
dataEditorForm.getAddMetadataDialog().prepareAddableMetadataForStructure(
155
getLogicalMetadataRows().getChildren());
0 commit comments