Skip to content
Snippets Groups Projects
Commit c216b25d authored by Heinrich Lee Yu's avatar Heinrich Lee Yu
Browse files

Prettify JS

parent 911d8356
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -48,14 +48,19 @@ export default {
selectable: true,
data: (term, callback) => {
this.loading = true;
return Api.groupProjects(this.groupId, term, {
with_issues_enabled: true,
with_shared: false,
include_subgroups: true
}, projects => {
this.loading = false;
callback(projects);
});
return Api.groupProjects(
this.groupId,
term,
{
with_issues_enabled: true,
with_shared: false,
include_subgroups: true,
},
projects => {
this.loading = false;
callback(projects);
},
);
},
renderRow(project) {
return `
Loading
Loading
Loading
Loading
@@ -14,7 +14,8 @@ export default function projectSelect() {
this.orderBy = $(select).data('orderBy') || 'id';
this.withIssuesEnabled = $(select).data('withIssuesEnabled');
this.withMergeRequestsEnabled = $(select).data('withMergeRequestsEnabled');
this.withShared = $(select).data('withShared') === undefined ? true : $(select).data('withShared');
this.withShared =
$(select).data('withShared') === undefined ? true : $(select).data('withShared');
this.includeProjectsInSubgroups = $(select).data('includeProjectsInSubgroups') || false;
this.allowClear = $(select).data('allowClear') || false;
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment