diff --git a/src/app/components/fileupload/fileupload.ts b/src/app/components/fileupload/fileupload.ts index 927e775fa5d..e1ea0cadd96 100755 --- a/src/app/components/fileupload/fileupload.ts +++ b/src/app/components/fileupload/fileupload.ts @@ -833,7 +833,7 @@ export class FileUpload implements AfterViewInit, AfterContentInit, OnInit, OnDe * @param {Number} index - Index of the file to be removed. * @group Method */ - removeUploadedFile(index) { + removeUploadedFile(index) { let removedFile = this.uploadedFiles.splice(index, 1)[0]; this.uploadedFiles = [...this.uploadedFiles]; this.onRemoveUploadedFile.emit({ file: removedFile, files: this.uploadedFiles }); diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 21724597ac4..1a79f13d3c7 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -3043,7 +3043,7 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable } } `; - this.renderer.setProperty(this.responsiveStyleElement, 'innerHTML', this.domSanitizer.bypassSecurityTrustStyle(innerHTML)); + this.renderer.setProperty(this.responsiveStyleElement, 'innerHTML', this.domSanitizer.bypassSecurityTrustStyle(innerHTML)); } } }