Commit 4acd5035 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve conflicts I guess it's correct

parent b00d36c5
...@@ -130,13 +130,7 @@ import ApproversSelect from './approvers_select'; ...@@ -130,13 +130,7 @@ import ApproversSelect from './approvers_select';
case 'projects:merge_requests:index': case 'projects:merge_requests:index':
case 'projects:issues:index': case 'projects:issues:index':
if (gl.FilteredSearchManager && document.querySelector('.filtered-search')) { if (gl.FilteredSearchManager && document.querySelector('.filtered-search')) {
<<<<<<< HEAD
const filteredSearchManager = new gl.FilteredSearchManager(
page === 'projects:issues:index' ? 'issues' : 'merge_requests',
);
=======
const filteredSearchManager = new gl.FilteredSearchManager(page === 'projects:issues:index' ? 'issues' : 'merge_requests'); const filteredSearchManager = new gl.FilteredSearchManager(page === 'projects:issues:index' ? 'issues' : 'merge_requests');
>>>>>>> upstream/master
filteredSearchManager.setup(); filteredSearchManager.setup();
} }
Issuable.init(); Issuable.init();
......
...@@ -298,11 +298,10 @@ class Project < ActiveRecord::Base ...@@ -298,11 +298,10 @@ class Project < ActiveRecord::Base
scope :with_builds_enabled, -> { with_feature_enabled(:builds) } scope :with_builds_enabled, -> { with_feature_enabled(:builds) }
scope :with_issues_enabled, -> { with_feature_enabled(:issues) } scope :with_issues_enabled, -> { with_feature_enabled(:issues) }
<<<<<<< HEAD
scope :with_wiki_enabled, -> { with_feature_enabled(:wiki) }
=======
scope :with_merge_requests_enabled, -> { with_feature_enabled(:merge_requests) } scope :with_merge_requests_enabled, -> { with_feature_enabled(:merge_requests) }
>>>>>>> upstream/master
# EE
scope :with_wiki_enabled, -> { with_feature_enabled(:wiki) }
enum auto_cancel_pending_pipelines: { disabled: 0, enabled: 1 } enum auto_cancel_pending_pipelines: { disabled: 0, enabled: 1 }
......
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