From f382696838278967da0456de9e2ddc7264c09252 Mon Sep 17 00:00:00 2001 From: Richard Park Date: Tue, 5 Nov 2019 14:11:08 +0900 Subject: [PATCH] bug fixed --- .../src/lib/components/file-upload-queue.component.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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'; } }