Merge branch 'master' of https://git.loafle.net/ucap-web/next-ucap-messenger
This commit is contained in:
commit
35e61706da
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user