diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-10-26 15:16:14 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-10-26 15:45:52 -0400 |
commit | bf555fae14db647d0f1711326126bf94194a0151 (patch) | |
tree | 063f1d1deb361a3eb490ff19cea00256b7a8939d /web/react/components/search_results_item.jsx | |
parent | b46c01b2903d49903cfcf6588097cb72d599b391 (diff) | |
download | chat-bf555fae14db647d0f1711326126bf94194a0151.tar.gz chat-bf555fae14db647d0f1711326126bf94194a0151.tar.bz2 chat-bf555fae14db647d0f1711326126bf94194a0151.zip |
Refactoring post_store into post_store and search_store
Diffstat (limited to 'web/react/components/search_results_item.jsx')
-rw-r--r-- | web/react/components/search_results_item.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/search_results_item.jsx b/web/react/components/search_results_item.jsx index d212e47a3..a8bd4db2c 100644 --- a/web/react/components/search_results_item.jsx +++ b/web/react/components/search_results_item.jsx @@ -1,7 +1,7 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. -var PostStore = require('../stores/post_store.jsx'); +var SearchStore = require('../stores/search_store.jsx'); var ChannelStore = require('../stores/channel_store.jsx'); var UserStore = require('../stores/user_store.jsx'); var UserProfile = require('./user_profile.jsx'); @@ -32,7 +32,7 @@ export default class SearchResultsItem extends React.Component { AppDispatcher.handleServerAction({ type: ActionTypes.RECIEVED_POST_SELECTED, post_list: data, - from_search: PostStore.getSearchTerm() + from_search: SearchStore.getSearchTerm() }); AppDispatcher.handleServerAction({ |