이슈처리]

29 파일함 name, size 등 타이틀 통일성 없음 :: 타이틀 변경 :: sendDate > Size
35 대화방 검색창 한글자 입력 후 검색시 검색되지 않음 :: 1글자 이상 검색가능하도록 수정.
This commit is contained in:
leejinho 2020-01-06 17:33:06 +09:00
parent 93563ad990
commit a066dc5031
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ export class ChatComponent implements OnInit, OnDestroy, AfterViewChecked {
event.preventDefault();
event.stopPropagation();
if (search.trim().length > 1) {
if (search.trim().length >= 1) {
this.isSearch = true;
this.searchRoomList = this.roomList.filter(room => {
if (room.roomName.indexOf(search) >= 0) {

View File

@ -205,7 +205,7 @@
</td>
</ng-container>
<ng-container matColumnDef="sendDate" class="date">
<th mat-header-cell *matHeaderCellDef mat-sort-header>sendDate</th>
<th mat-header-cell *matHeaderCellDef mat-sort-header>Size</th>
<td mat-cell *matCellDef="let element">
<!--{{ element.info.sendDate | ucapDate: 'YYYY.MM.DD' }}-->
{{ element.info.size | ucapBytes }}