Skip to content

Commit

Permalink
Allow adding place ref if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMStraub committed Feb 12, 2023
1 parent 215ced5 commit 7d01e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GrampsjsObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export class GrampsjsObject extends GrampsjsTranslateMixin(LitElement) {
></grampsjs-names>
`
case 'enclosed':
return html` ${this.data.placeref_list?.length
return html` ${this.data.placeref_list?.length || this.edit
? html`
<h4>${this._('Enclosed By')}</h3>
<grampsjs-place-refs
Expand Down

0 comments on commit 7d01e04

Please sign in to comment.