Skip to content

Commit 13025e6

Browse files
committed
fix regression in previous release
1 parent 4713926 commit 13025e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/reduxAutoloader.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ 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: (this.props.updatedAt && reloadOnMount) || loadOnInitialize,
148+
loadImmediately: (this.props.updatedAt && reloadOnMount)
149+
|| (!this.props.updatedAt && loadOnInitialize),
149150
});
150151
}
151152
}

0 commit comments

Comments
 (0)