From bb2411972fb5fd4fc2658d88f2220e0a8f16641d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Tue, 21 Apr 2026 09:17:44 +0400 Subject: [PATCH] Improve upload item UI --- app/components/place-photo-item.gjs | 9 --------- app/styles/app.css | 12 +----------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/app/components/place-photo-item.gjs b/app/components/place-photo-item.gjs index 37a2415..ddc2bc0 100644 --- a/app/components/place-photo-item.gjs +++ b/app/components/place-photo-item.gjs @@ -20,7 +20,6 @@ export default class PlacePhotoItem extends Component { @tracked thumbnailUrl = ''; @tracked error = ''; - @tracked isUploaded = false; constructor() { super(...arguments); @@ -87,8 +86,6 @@ export default class PlacePhotoItem extends Component { ]); } - this.isUploaded = true; - if (this.args.onSuccess) { this.args.onSuccess({ file, @@ -137,12 +134,6 @@ export default class PlacePhotoItem extends Component { {{/if}} - {{#if this.isUploaded}} -
- -
- {{/if}} -