Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-12-04 05:43:10 +0300
committerEric Eastwood <contact@ericeastwood.com>2017-12-05 00:02:48 +0300
commitf3433d8a6801d369752526c1d92a35048e263e20 (patch)
tree93f2017d1cf885ff52969c13bede20fc96b4ec32 /app/assets/javascripts/boards
parente0f84130567dc34edf1ae75fcf595e24991d2fa9 (diff)
Backport changes from refactor sidebar weight block Vue and move to Issue Boards
See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3566
Diffstat (limited to 'app/assets/javascripts/boards')
-rw-r--r--app/assets/javascripts/boards/models/issue.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/boards/models/issue.js b/app/assets/javascripts/boards/models/issue.js
index 10f85c1d676..81edd95bf2b 100644
--- a/app/assets/javascripts/boards/models/issue.js
+++ b/app/assets/javascripts/boards/models/issue.js
@@ -20,6 +20,7 @@ class ListIssue {
this.isFetching = {
subscriptions: true,
};
+ this.isLoading = {};
this.sidebarInfoEndpoint = obj.issue_sidebar_endpoint;
this.toggleSubscriptionEndpoint = obj.toggle_subscription_endpoint;
@@ -86,6 +87,10 @@ class ListIssue {
this.isFetching[key] = value;
}
+ setLoadingState(key, value) {
+ this.isLoading[key] = value;
+ }
+
update (url) {
const data = {
issue: {