Skip to content
Snippets Groups Projects
Unverified Commit b9af968f authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Simplify expression

parent 3fc3f523
No related branches found
No related tags found
No related merge requests found
Pipeline #9660 passed with warnings
......@@ -56,8 +56,7 @@ class SignaturePdfUpload extends VPUSignatureLitElement {
this.errorFiles[Math.floor(Math.random() * 1000000)] = ev.detail;
// this triggers the correct update() execution
this.errorFilesCount++;
} else if (ev.detail.json !== undefined &&
ev.detail.json["@type"] === "http://schema.org/MediaObject" ) {
} else if (ev.detail.json["@type"] === "http://schema.org/MediaObject" ) {
// this doesn't seem to trigger an update() execution
this.signedFiles.push(ev.detail.json);
// this triggers the correct update() execution
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment