diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/message.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/message.component.ts index 34a470cf..181de9e2 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/message.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/message.component.ts @@ -336,13 +336,13 @@ export class MessageBoxComponent this.getSearchMessage( MessageType.All, - MessageSearchType.Name, + this.fgSearchType.get('searchMessageSearchType').value, search.trim() ); } getSearchMessage( messageType: MessageType, - searchType: MessageSearchType, + searchType: MessageSearchType = MessageSearchType.Name, searchStr: string ) { this.isSearch = true; diff --git a/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.scss b/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.scss index 07a1e150..f88cea1f 100644 --- a/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.scss +++ b/projects/ucap-webmessenger-ui-message/src/lib/components/write.component.scss @@ -71,6 +71,7 @@ padding: 10px; min-height: 250px; border: 1px solid #dddddd; + word-break: break-all; //overflow: auto; } }