diff options
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/stores/search_store.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/stores/search_store.jsx b/webapp/stores/search_store.jsx index 2ccf02f94..dd4b97522 100644 --- a/webapp/stores/search_store.jsx +++ b/webapp/stores/search_store.jsx @@ -122,7 +122,7 @@ class SearchStoreClass extends EventEmitter { togglePinPost(postId, isPinned) { const results = this.getSearchResults(); - if (results == null) { + if (results == null || results.posts == null) { return; } |