diff --git a/app/components/place-photo-upload.gjs b/app/components/place-photo-upload.gjs index d51623a..5aca5b4 100644 --- a/app/components/place-photo-upload.gjs +++ b/app/components/place-photo-upload.gjs @@ -19,7 +19,6 @@ export default class PlacePhotoUpload extends Component { @tracked file = null; @tracked uploadedPhoto = null; - @tracked status = ''; @tracked error = ''; @tracked isPublishing = false; @tracked isDragging = false; @@ -132,7 +131,6 @@ export default class PlacePhotoUpload extends Component { return; } - this.status = 'Publishing event...'; this.error = ''; this.isPublishing = true; @@ -191,7 +189,6 @@ export default class PlacePhotoUpload extends Component { this.nostrData.store.add(event); this.toast.show('Photo published successfully'); - this.status = ''; // Clear out the file so user can upload more or be done this.file = null; @@ -206,7 +203,6 @@ export default class PlacePhotoUpload extends Component { } } catch (e) { this.error = 'Failed to publish: ' + e.message; - this.status = ''; } finally { this.isPublishing = false; } @@ -222,12 +218,6 @@ export default class PlacePhotoUpload extends Component { {{/if}} - {{#if this.status}} -