Skip to content

Commit 3703b5a

Browse files
committed
Fixing the rotate url.
1 parent d3b2e64 commit 3703b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eform-client/src/app/modules/cases/components/case-elements/element-picture/element-picture.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class ElementPictureComponent implements OnChanges, OnInit {
8989
if (operation && operation.success) {
9090
this.notifyService.success({text: operation.message});
9191
this.images = this.images.filter(x => x.fileName !== image.fileName);
92-
image.src = image.src + '&noCache=' + Math.floor(Math.random() * 1000).toString();
92+
image.src = image.src + '?noCache=' + Math.floor(Math.random() * 1000).toString();
9393
image.thumbnail = image.src;
9494
this.images.push(image);
9595
this.updateGallery();

0 commit comments

Comments
 (0)