Commit ce5b1ccd authored by Kushal Pandya's avatar Kushal Pandya

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

Remove setFetchingState logic to boardsStore

See merge request gitlab-org/gitlab!32255
parents c6fae52f 97c91c7a
......@@ -80,7 +80,7 @@ class ListIssue {
}
setFetchingState(key, value) {
this.isFetching[key] = value;
boardsStore.setIssueFetchingState(this, key, value);
}
setLoadingState(key, value) {
......
......@@ -812,6 +812,11 @@ const boardsStore = {
updateIssueData(issue, newData) {
Object.assign(issue, newData);
},
setIssueFetchingState(issue, key, value) {
issue.isFetching[key] = value;
},
refreshIssueData(issue, obj) {
issue.id = obj.id;
issue.iid = obj.iid;
......
---
title: Remove setFetchingState logic from issue model
merge_request: 32255
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