Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d775cfb

Browse files
fix(mr): comment.
1 parent 8ce22e1 commit d775cfb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎webviews/store/appStore.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ const appStore = store({
143143
appStore.toggleUpdatingDesc(false);
144144
appStore.refreshMRActivities();
145145
},
146-
addComment(comment: IComment) {
147-
appStore.comments.push(comment);
148-
},
149146
initMRReviewers(list: IMRReviewers) {
150147
appStore.reviewers = list;
151148
},
@@ -161,8 +158,6 @@ const appStore = store({
161158
updateMRComments(res);
162159
break;
163160
}
164-
case actions.MR_ADD_COMMENT: {
165-
}
166161
default:
167162
break;
168163
}
@@ -177,6 +172,7 @@ export const persistData = () =>
177172
currentMR: appStore.currentMR,
178173
activities: appStore.activities,
179174
reviewers: appStore.reviewers,
175+
comments: appStore.comments,
180176
});
181177
});
182178
export const removeDataPersist = (e: () => void) => clearEffect(e);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /