이슈처리]
29 파일함 name, size 등 타이틀 통일성 없음 :: 타이틀 변경 :: sendDate > Size 35 대화방 검색창 한글자 입력 후 검색시 검색되지 않음 :: 1글자 이상 검색가능하도록 수정.
This commit is contained in:
parent
93563ad990
commit
a066dc5031
|
@ -210,7 +210,7 @@ export class ChatComponent implements OnInit, OnDestroy, AfterViewChecked {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
||||||
if (search.trim().length > 1) {
|
if (search.trim().length >= 1) {
|
||||||
this.isSearch = true;
|
this.isSearch = true;
|
||||||
this.searchRoomList = this.roomList.filter(room => {
|
this.searchRoomList = this.roomList.filter(room => {
|
||||||
if (room.roomName.indexOf(search) >= 0) {
|
if (room.roomName.indexOf(search) >= 0) {
|
||||||
|
|
|
@ -205,7 +205,7 @@
|
||||||
</td>
|
</td>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container matColumnDef="sendDate" class="date">
|
<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">
|
<td mat-cell *matCellDef="let element">
|
||||||
<!--{{ element.info.sendDate | ucapDate: 'YYYY.MM.DD' }}-->
|
<!--{{ element.info.sendDate | ucapDate: 'YYYY.MM.DD' }}-->
|
||||||
{{ element.info.size | ucapBytes }}
|
{{ element.info.size | ucapBytes }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user