removing redundant statements
This commit is contained in:
parent
ce0ef4097a
commit
daff5c615a
|
@ -157,7 +157,6 @@ class SearchMessagesView extends React.Component<ISearchMessagesViewProps, ISear
|
|||
const result = await RocketChat.searchMessages(this.rid, searchText, QUERY_SIZE, this.offset);
|
||||
if (result.success) {
|
||||
const urlRenderMessages = result.messages?.map(message => {
|
||||
// @ts-ignore
|
||||
if (message.urls && message.urls.length > 0) {
|
||||
message.urls = message.urls?.map((url, index) => {
|
||||
if (url.meta) {
|
||||
|
|
Loading…
Reference in New Issue