Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b1f8dd1

Browse files
author
rodik
committedFeb 15, 2016
Revert fetchDataDeferred behaviour on Widgets page
1 parent 3fdcf22 commit b1f8dd1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎src/containers/Widgets/Widgets.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ export default class Widgets extends Component {
2828
static reduxAsyncConnect(params, store) {
2929
const {dispatch, getState} = store;
3030
if (!isLoaded(getState())) {
31-
return dispatch(loadWidgets());
31+
const promise = dispatch(loadWidgets());
32+
if (__SERVER__) {
33+
return promise;
34+
}
3235
}
3336
}
3437

0 commit comments

Comments
 (0)
Please sign in to comment.