Commit 8e0fc530 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'Remove-updateData-logic-from-issue-model' into 'master'

Remove updateData logic from issue model

See merge request gitlab-org/gitlab!32256
parents b8e5e7ce 0462bc25
......@@ -78,7 +78,7 @@ class ListIssue {
}
updateData(newData) {
Object.assign(this, newData);
boardsStore.updateIssueData(this, newData);
}
setFetchingState(key, value) {
......
......@@ -805,6 +805,9 @@ const boardsStore = {
}
},
updateIssueData(issue, newData) {
Object.assign(issue, newData);
},
refreshIssueData(issue, obj) {
issue.id = obj.id;
issue.iid = obj.iid;
......
---
title: Remove updateData logic from issue model
merge_request: 32256
author: nuwe1
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment