Commit a3eaeda0 authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Kushal Pandya

Remove setLoadingState logic from issue model

parent 8e0fc530
...@@ -86,7 +86,7 @@ class ListIssue { ...@@ -86,7 +86,7 @@ class ListIssue {
} }
setLoadingState(key, value) { setLoadingState(key, value) {
this.isLoading[key] = value; boardsStore.setIssueLoadingState(this, key, value);
} }
update() { update() {
......
...@@ -805,6 +805,10 @@ const boardsStore = { ...@@ -805,6 +805,10 @@ const boardsStore = {
} }
}, },
setIssueLoadingState(issue, key, value) {
issue.isLoading[key] = value;
},
updateIssueData(issue, newData) { updateIssueData(issue, newData) {
Object.assign(issue, newData); Object.assign(issue, newData);
}, },
......
---
title: Remove setLoadingState logic from issue model
merge_request: 32226
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