From 0fb8a56a90ec37f81ef4c79c8eee6057da83be0f Mon Sep 17 00:00:00 2001 From: leejinho Date: Thu, 14 Nov 2019 08:30:59 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=ED=95=A8=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=20=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../right-drawer/file-box.component.html | 24 ++++++++----------- .../right-drawer/file-box.component.ts | 20 +++++----------- 2 files changed, 16 insertions(+), 28 deletions(-) diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/file-box.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/file-box.component.html index 2e3a5ced..8341207b 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/file-box.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/right-drawer/file-box.component.html @@ -52,28 +52,24 @@ - Name - {{ element.info.name }} - - - Size + + Name + - {{ element.info.size | ucapBytes }} +
+ {{ element.info.name }} +
+
+ {{ element.info.size | ucapBytes }} +
- + sendDate {{ element.info.sendDate | dateToStringFormat: 'YYYY.MM.DD' }} - - receivedUser - - {{ element.info.receivedUserCount }} - - - (); fileInfoTotal: FileInfoTotal[]; @@ -69,7 +63,7 @@ export class FileBoxComponent implements OnInit, OnDestroy { select( AppStore.MessengerSelector.EventSelector.selectAllFileInfoCheckList ) - ), + ) ]) .pipe( tap(() => (this.fileInfoTotal = [])), @@ -91,7 +85,7 @@ export class FileBoxComponent implements OnInit, OnDestroy { info: fileInfo, checkInfo: fileInfoCheckList.filter( checkInfo => checkInfo.seq === fileInfo.seq - ), + ) }); }); @@ -108,10 +102,8 @@ export class FileBoxComponent implements OnInit, OnDestroy { return item.info.size; case 'sendDate': return item.info.sendDate; - case 'receivedUserCount': - return item.info.receivedUserCount; default: - return item[property]; + return item.info[property]; } }; this.dataSource.sort = this.sort;