Skip to content

Commit

Permalink
fix: recentIssues
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirPal committed Feb 2, 2018
1 parent 4096674 commit 6c6dd3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/sagas/issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ function getNewIssueChannelListener(channel) {
yield put(actions.pending());
const issueKey = payload[0];
const issue = yield call(Api.fetchIssueByKey, issueKey);
issue.fields.worklogs = [];
yield put(actions.succeeded({
resources: [issue],
}));
Expand Down
2 changes: 1 addition & 1 deletion app/sagas/worklogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export function* saveWorklog({
resourceName: 'issues',
list: 'recentIssues',
}));
yield call(fetchRecentIssues);
yield fork(fetchRecentIssues);
yield fork(scrollToIndexRequest, {
issueId,
worklogId: worklog.id,
Expand Down

0 comments on commit 6c6dd3e

Please sign in to comment.