Immediately render newly uploaded photo and scroll to it

This commit is contained in:
2026-04-22 10:38:06 +04:00
parent d8fa30c74b
commit 670128cbda
3 changed files with 35 additions and 4 deletions

View File

@@ -192,7 +192,7 @@ export default class PlacePhotoUpload extends Component {
this.uploadedPhoto = null;
if (this.args.onClose) {
this.args.onClose();
this.args.onClose(event.id);
}
} catch (e) {
this.error = 'Failed to publish: ' + e.message;