diff --git a/app/components/place-details.gjs b/app/components/place-details.gjs index b13815a..64d0ba7 100644 --- a/app/components/place-details.gjs +++ b/app/components/place-details.gjs @@ -305,6 +305,7 @@ export default class PlaceDetails extends Component { type="button" class="btn btn-outline" title="Edit" + disabled={{this.isEditing}} {{on "click" this.startEditing}} > diff --git a/app/styles/app.css b/app/styles/app.css index 7e9c572..c3fd279 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -603,6 +603,12 @@ abbr[title] { gap: 0.5rem; } +.btn:disabled { + opacity: 0.5; + cursor: not-allowed; + pointer-events: none; +} + .btn-outline { background: transparent; color: #333;