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;