mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix eslint warnigs for core project (#7506)
This commit is contained in:
@@ -51,7 +51,7 @@ export class PdfThumbComponent implements OnInit, FocusableOption {
|
||||
|
||||
return page.render({
|
||||
canvasContext: canvas.getContext('2d'),
|
||||
viewport: page.getViewport({ scale: scale })
|
||||
viewport: page.getViewport({ scale })
|
||||
}).promise.then(() => {
|
||||
const imageSource = canvas.toDataURL();
|
||||
return this.sanitizer.bypassSecurityTrustUrl(imageSource);
|
||||
|
Reference in New Issue
Block a user