From 7d01e044e7571fe1c39443bbc75832fcb71e2a3c Mon Sep 17 00:00:00 2001 From: David Straub Date: Tue, 7 Feb 2023 20:34:14 +0100 Subject: [PATCH] Allow adding place ref if not present --- src/components/GrampsjsObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GrampsjsObject.js b/src/components/GrampsjsObject.js index e93ffbb7..bd4cd488 100644 --- a/src/components/GrampsjsObject.js +++ b/src/components/GrampsjsObject.js @@ -355,7 +355,7 @@ export class GrampsjsObject extends GrampsjsTranslateMixin(LitElement) { > ` case 'enclosed': - return html` ${this.data.placeref_list?.length + return html` ${this.data.placeref_list?.length || this.edit ? html`

${this._('Enclosed By')}