diff options
author | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-10-26 09:34:31 +0300 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-11-19 18:59:54 +0300 |
commit | b12456049e4e701b2436beacfc88c74922d7524f (patch) | |
tree | 24b08d19e9eb5457bd2de5e193ca52613cd1712c /app/assets/javascripts/project_select.js | |
parent | e6a021f7b4d9b846cefae7e7a1cee8310cc859ed (diff) |
Change param name for consistency
Diffstat (limited to 'app/assets/javascripts/project_select.js')
-rw-r--r-- | app/assets/javascripts/project_select.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/project_select.js b/app/assets/javascripts/project_select.js index ce407c60724..6c5f1198d27 100644 --- a/app/assets/javascripts/project_select.js +++ b/app/assets/javascripts/project_select.js @@ -14,7 +14,7 @@ export default function projectSelect() { this.orderBy = $(select).data('orderBy') || 'id'; this.withIssuesEnabled = $(select).data('withIssuesEnabled'); this.withMergeRequestsEnabled = $(select).data('withMergeRequestsEnabled'); - this.includeShared = $(select).data('includeShared') === undefined ? true : $(select).data('includeShared'); + this.withShared = $(select).data('withShared') === undefined ? true : $(select).data('withShared'); this.includeProjectsInSubgroups = $(select).data('includeProjectsInSubgroups') || false; this.allowClear = $(select).data('allowClear') || false; @@ -56,7 +56,7 @@ export default function projectSelect() { { with_issues_enabled: _this.withIssuesEnabled, with_merge_requests_enabled: _this.withMergeRequestsEnabled, - include_shared: _this.includeShared, + with_shared: _this.withShared, include_subgroups: _this.includeProjectsInSubgroups, }, projectsCallback, |