Browse Source
Merge pull request #10016 from vvlladd28/bug/updated-image/publick-not-new-preview
Fixed not updated image preview when updated image
pull/10078/head
Andrew Shvayka
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/shared/components/image/image-dialog.component.ts
|
|
|
@ -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 |
|
|
|
}; |
|
|
|
} |
|
|
|
}); |
|
|
|
|