Skip to content
Snippets Groups Projects
Commit 44e5da9a authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FIX #14483 TIME 2:30 fix document not refreshed in signature book

parent 8d4517d4
No related branches found
No related tags found
No related merge requests found
...@@ -187,6 +187,9 @@ export class SignatureBookComponent implements OnInit, OnDestroy { ...@@ -187,6 +187,9 @@ export class SignatureBookComponent implements OnInit, OnDestroy {
}, 0); }, 0);
this.loadBadges(); this.loadBadges();
this.loadActions(); this.loadActions();
if (this.appDocumentViewer !== undefined) {
this.appDocumentViewer.loadRessource(this.signatureBook.attachments[this.rightSelectedThumbnail].signed ? this.signatureBook.attachments[this.rightSelectedThumbnail].viewerId : this.signatureBook.attachments[this.rightSelectedThumbnail].res_id, this.signatureBook.attachments[this.rightSelectedThumbnail].isResource ? 'mainDocument' : 'attachment');
}
}, (err) => { }, (err) => {
this.notify.error(err.error.errors); this.notify.error(err.error.errors);
setTimeout(() => { setTimeout(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment