diff --git a/projects/ucap-webmessenger-ui/src/lib/components/file-upload-queue.component.ts b/projects/ucap-webmessenger-ui/src/lib/components/file-upload-queue.component.ts index 7a3e8ae9..cf7143bb 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/file-upload-queue.component.ts +++ b/projects/ucap-webmessenger-ui/src/lib/components/file-upload-queue.component.ts @@ -90,9 +90,11 @@ export class FileUploadQueueComponent implements OnInit, AfterViewInit { private changeStyleDisplay(show: boolean): void { if (show || (!!this.fileUploadItems && 0 < this.fileUploadItems.length)) { - this.elementRef.nativeElement.style.display = ''; + this.elementRef.nativeElement.parentElement.style.display = ''; + // this.elementRef.nativeElement.style.display = ''; } else { - this.elementRef.nativeElement.style.display = 'none'; + this.elementRef.nativeElement.parentElement.style.display = 'none'; + // this.elementRef.nativeElement.style.display = 'none'; } }