bugfix: GUI failed when delivery was null
This commit is contained in:
@@ -217,7 +217,7 @@ public final class Document implements Mappable {
|
||||
map.put(FIELD_TYPE, type.name());
|
||||
map.put(DATE, date);
|
||||
map.put(STATE, state.code);
|
||||
map.put(FIELD_DELIVERY, delivery);
|
||||
map.put(FIELD_DELIVERY, delivery == null ? "" : delivery);
|
||||
map.put(FIELD_HEAD, Map.of(SOURCE,head,RENDERED,markdown(head)));
|
||||
map.put(FIELD_FOOTER, Map.of(SOURCE,footer,RENDERED,markdown(footer)));
|
||||
map.put(FIELD_CURRENCY, currency);
|
||||
|
||||
Reference in New Issue
Block a user