This commit is contained in:
Richard Park 2020-01-06 18:05:39 +09:00
commit 35e61706da

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) {