Skip to content

Commit

Permalink
Allow editing place type even if empty
Browse files Browse the repository at this point in the history
Fixes #481
  • Loading branch information
DavidMStraub committed Aug 9, 2024
1 parent dee0938 commit 87910d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/GrampsjsPlace.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export class GrampsjsPlace extends GrampsjsObject {
: ''}
</h2>
${this.data?.profile?.type
${this.data?.profile?.type || this.edit
? html`<p>
${this.data?.profile?.type}
${this.data?.profile?.type || this._('Unknown')}
${this.edit
? html`
<mwc-icon-button
Expand Down

0 comments on commit 87910d0

Please sign in to comment.