Commit 0462bc25 authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Kushal Pandya

Remove updateData logic from issue model

parent e5d7d61b
......@@ -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