Commit 5420d266 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'Remove-setLoadingState-logic-From-issue-model' into 'master'

Remove setLoadingState logic from issue model

See merge request gitlab-org/gitlab!32226
parents da62cb63 a3eaeda0
...@@ -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