File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,6 @@ const appStore = store({
143
143
appStore . toggleUpdatingDesc ( false ) ;
144
144
appStore . refreshMRActivities ( ) ;
145
145
} ,
146
- addComment ( comment : IComment ) {
147
- appStore . comments . push ( comment ) ;
148
- } ,
149
146
initMRReviewers ( list : IMRReviewers ) {
150
147
appStore . reviewers = list ;
151
148
} ,
@@ -161,8 +158,6 @@ const appStore = store({
161
158
updateMRComments ( res ) ;
162
159
break ;
163
160
}
164
- case actions . MR_ADD_COMMENT : {
165
- }
166
161
default :
167
162
break ;
168
163
}
@@ -177,6 +172,7 @@ export const persistData = () =>
177
172
currentMR : appStore . currentMR ,
178
173
activities : appStore . activities ,
179
174
reviewers : appStore . reviewers ,
175
+ comments : appStore . comments ,
180
176
} ) ;
181
177
} ) ;
182
178
export const removeDataPersist = ( e : ( ) => void ) => clearEffect ( e ) ;
You can’t perform that action at this time.
0 commit comments