From 952897167e403c79bc38811aa79a29f88cad3860 Mon Sep 17 00:00:00 2001 From: Bob Ralian Date: Mon, 1 Feb 2016 16:35:26 -0600 Subject: [PATCH] ensure a fetch on mounting for post-list-fetcher This should address stale data that can otherwise be shown in the desktop app. --- client/components/post-list-fetcher/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/post-list-fetcher/index.jsx b/client/components/post-list-fetcher/index.jsx index ba3fd99eaef51..d7ed3f6b39106 100644 --- a/client/components/post-list-fetcher/index.jsx +++ b/client/components/post-list-fetcher/index.jsx @@ -126,7 +126,7 @@ PostListFetcher = React.createClass( { componentDidMount: function() { var postListStore = postListStoreFactory( this.props.postListStoreId ); - this._poller = pollers.add( postListStore, actions.fetchUpdated, { interval: 60000, leading: false } ); + this._poller = pollers.add( postListStore, actions.fetchUpdated, { interval: 60000, leading: true } ); }, componentWillUnmount: function() {