Skip to content

Commit 6c3b7f2

Browse files
Fix 'handle' not updated in Dashboard mapStateProps
1 parent 0c41ce0 commit 6c3b7f2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/shared/containers/Dashboard/index.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ function mapStateToProps(state, props) {
338338
finances: finances.data,
339339
financesLoading: Boolean(finances.loadingUuid),
340340
financesTimestamp: finances.timestamp,
341+
handle: state.auth.profile.handle,
341342
memberId: state.auth.user.userId,
342343
profile: state.auth.profile,
343344
showChallengeFilter: dash.showChallengeFilter,
@@ -401,6 +402,10 @@ function mapDispatchToProps(dispatch) {
401402
const a = challengeListingActions.challengeListing;
402403
dispatch(a.getSrmsInit(uuid));
403404
dispatch(a.getSrmsDone(uuid, memberId, {
405+
status: 'Draft',
406+
sortBy: 'startDate',
407+
page: 1,
408+
perPage: 3,
404409
}, tokenV3));
405410
},
406411
getTopcoderBlogFeed: () => {

0 commit comments

Comments
 (0)