Commit 97c91c7a authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Kushal Pandya

Remove setFetchingState logic to boardsStore

parent 1017521b
......@@ -82,7 +82,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