summaryrefslogtreecommitdiffstats
path: root/webapp/components/search_results.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-11-22 09:13:14 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-11-22 09:13:14 -0500
commit3c65a20f4587da6315d47222b5d9852d7e5ad66f (patch)
tree734e690a2bbbdc290198dadce3b0deab72b98f74 /webapp/components/search_results.jsx
parent48d64f3f68bc861eda3732457b5d24d238cacc53 (diff)
downloadchat-3c65a20f4587da6315d47222b5d9852d7e5ad66f.tar.gz
chat-3c65a20f4587da6315d47222b5d9852d7e5ad66f.tar.bz2
chat-3c65a20f4587da6315d47222b5d9852d7e5ad66f.zip
Deleted posts now update in search results and flagged posts (#4618)
Diffstat (limited to 'webapp/components/search_results.jsx')
-rw-r--r--webapp/components/search_results.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/search_results.jsx b/webapp/components/search_results.jsx
index f128245e4..8d50338e0 100644
--- a/webapp/components/search_results.jsx
+++ b/webapp/components/search_results.jsx
@@ -19,7 +19,7 @@ import React from 'react';
import {FormattedMessage, FormattedHTMLMessage} from 'react-intl';
function getStateFromStores() {
- const results = SearchStore.getSearchResults();
+ const results = JSON.parse(JSON.stringify(SearchStore.getSearchResults()));
const channels = new Map();