Skip to content

Commit 5e35c68

Browse files
committed
fix issue with multiple loaders with the same name not loading on initialization
1 parent b3fec4a commit 5e35c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reduxAutoloader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export default function reduxAutoloader({
145145
this.debugLog('startRefresh: on mount with autoRefreshInterval');
146146
this.props.startRefresh(getReducerName(this.props), {
147147
apiCall: () => apiCall(this.getMappedProps(this.props)),
148-
loadImmediately: reloadOnMount,
148+
loadImmediately: (this.props.updatedAt && reloadOnMount) || loadOnInitialize,
149149
});
150150
}
151151
}

0 commit comments

Comments
 (0)