Merge pull request #10016 from vvlladd28/bug/updated-image/publick-not-new-preview

Fixed not updated image preview when updated image
This commit is contained in:
Andrew Shvayka 2024-01-18 17:43:35 +02:00 committed by GitHub
commit a8866ba387
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ export class ImageDialogComponent extends
this.imageChanged = true;
this.image = result;
this.imagePreviewData = {
url: this.image.public ? this.image.publicLink : this.image.link
url: this.image.public ? `${this.image.publicLink}?ts=${new Date().getTime()}` : this.image.link
};
}
});