summaryrefslogtreecommitdiffstats
path: root/webapp/stores/search_store.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/stores/search_store.jsx')
-rw-r--r--webapp/stores/search_store.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/stores/search_store.jsx b/webapp/stores/search_store.jsx
index 5dfea6867..d57c630cb 100644
--- a/webapp/stores/search_store.jsx
+++ b/webapp/stores/search_store.jsx
@@ -122,7 +122,7 @@ class SearchStoreClass extends EventEmitter {
updatePost(post) {
const results = this.getSearchResults();
- if (results == null) {
+ if (!post || results == null) {
return;
}