Commit 6bebc863 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflicts

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 0674fb62
...@@ -55,12 +55,9 @@ import Api from './api'; ...@@ -55,12 +55,9 @@ import Api from './api';
this.includeGroups = $(select).data('include-groups'); this.includeGroups = $(select).data('include-groups');
this.allProjects = $(select).data('allprojects') || false; this.allProjects = $(select).data('allprojects') || false;
this.orderBy = $(select).data('order-by') || 'id'; this.orderBy = $(select).data('order-by') || 'id';
<<<<<<< HEAD
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');
=======
idAttribute = $(select).data('idattribute') || 'web_url'; idAttribute = $(select).data('idattribute') || 'web_url';
>>>>>>> origin/master
placeholder = "Search for project"; placeholder = "Search for project";
if (this.includeGroups) { if (this.includeGroups) {
...@@ -97,12 +94,9 @@ import Api from './api'; ...@@ -97,12 +94,9 @@ import Api from './api';
} else { } else {
return Api.projects(query.term, { return Api.projects(query.term, {
order_by: _this.orderBy, order_by: _this.orderBy,
<<<<<<< HEAD
with_issues_enabled: _this.withIssuesEnabled, with_issues_enabled: _this.withIssuesEnabled,
with_merge_requests_enabled: _this.withMergeRequestsEnabled with_merge_requests_enabled: _this.withMergeRequestsEnabled,
=======
membership: !_this.allProjects membership: !_this.allProjects
>>>>>>> origin/master
}, projectsCallback); }, projectsCallback);
} }
}; };
......
...@@ -4,10 +4,7 @@ import { getStateKey } from '../dependencies'; ...@@ -4,10 +4,7 @@ import { getStateKey } from '../dependencies';
export default class MergeRequestStore { export default class MergeRequestStore {
constructor(data) { constructor(data) {
this.sha = data.diff_head_sha; this.sha = data.diff_head_sha;
<<<<<<< HEAD
this.gitlabLogo = data.gitlabLogo; this.gitlabLogo = data.gitlabLogo;
=======
>>>>>>> origin/master
this.setData(data); this.setData(data);
} }
......
...@@ -11,11 +11,7 @@ ...@@ -11,11 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
<<<<<<< HEAD
ActiveRecord::Schema.define(version: 20170525174156) do
=======
ActiveRecord::Schema.define(version: 20170602003304) do ActiveRecord::Schema.define(version: 20170602003304) do
>>>>>>> origin/master
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
......
...@@ -564,11 +564,7 @@ describe MergeRequest, models: true do ...@@ -564,11 +564,7 @@ describe MergeRequest, models: true do
project.team << [developer, :developer] project.team << [developer, :developer]
project.team << [blocked_developer, :developer] project.team << [blocked_developer, :developer]
<<<<<<< HEAD expect(merge_request.reload.number_of_potential_approvers).to eq(2)
expect(merge_request.number_of_potential_approvers).to eq(2)
=======
expect(merge_request.reload.number_of_potential_approvers).to eq(1)
>>>>>>> origin/master
end end
context "when the project is part of a group" do context "when the project is part of a group" do
......
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