Update project_select.js

parent 3ef0f2a0
...@@ -10,11 +10,7 @@ import ProjectSelectComboButton from './project_select_combo_button'; ...@@ -10,11 +10,7 @@ import ProjectSelectComboButton from './project_select_combo_button';
const simpleFilter = $(select).data('simple-filter') || false; const simpleFilter = $(select).data('simple-filter') || false;
this.groupId = $(select).data('group-id'); this.groupId = $(select).data('group-id');
this.includeGroups = $(select).data('include-groups'); this.includeGroups = $(select).data('include-groups');
<<<<<<< HEAD
this.allProjects = $(select).data('allprojects') || false;
=======
this.allProjects = $(select).data('all-projects') || false; this.allProjects = $(select).data('all-projects') || false;
>>>>>>> bfb5107ae720232a15060ee55feba213ee7dd097
this.orderBy = $(select).data('order-by') || 'id'; this.orderBy = $(select).data('order-by') || 'id';
this.withIssuesEnabled = $(select).data('with-issues-enabled'); this.withIssuesEnabled = $(select).data('with-issues-enabled');
this.withMergeRequestsEnabled = $(select).data('with-merge-requests-enabled'); this.withMergeRequestsEnabled = $(select).data('with-merge-requests-enabled');
...@@ -57,11 +53,7 @@ import ProjectSelectComboButton from './project_select_combo_button'; ...@@ -57,11 +53,7 @@ import ProjectSelectComboButton from './project_select_combo_button';
order_by: _this.orderBy, order_by: _this.orderBy,
with_issues_enabled: _this.withIssuesEnabled, with_issues_enabled: _this.withIssuesEnabled,
with_merge_requests_enabled: _this.withMergeRequestsEnabled, with_merge_requests_enabled: _this.withMergeRequestsEnabled,
<<<<<<< HEAD
membership: !_this.allProjects
=======
membership: !_this.allProjects, membership: !_this.allProjects,
>>>>>>> bfb5107ae720232a15060ee55feba213ee7dd097
}, projectsCallback); }, projectsCallback);
} }
}; };
......
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