Commit 4ea82434 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflicts

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 8e6b22d0
...@@ -180,18 +180,7 @@ Security/JSONLoad: ...@@ -180,18 +180,7 @@ Security/JSONLoad:
Style/AlignParameters: Style/AlignParameters:
Enabled: false Enabled: false
<<<<<<< HEAD
# Offense count: 29
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: always, conditionals
Style/AndOr:
Enabled: false
# Offense count: 53
=======
# Offense count: 54 # Offense count: 54
>>>>>>> ce/master
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles. # Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: percent_q, bare_percent # SupportedStyles: percent_q, bare_percent
......
...@@ -101,10 +101,7 @@ ...@@ -101,10 +101,7 @@
resetFilters() { resetFilters() {
const hook = this.getCurrentHook(); const hook = this.getCurrentHook();
<<<<<<< HEAD
=======
>>>>>>> ce/master
if (hook) { if (hook) {
const data = hook.list.data; const data = hook.list.data;
const results = data.map((o) => { const results = data.map((o) => {
......
...@@ -8,13 +8,10 @@ ...@@ -8,13 +8,10 @@
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeys; this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeys;
this.filteredSearchInput = document.querySelector('.filtered-search'); this.filteredSearchInput = document.querySelector('.filtered-search');
this.page = page; this.page = page;
<<<<<<< HEAD
if (this.page === 'issues') { if (this.page === 'issues') {
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeysWithWeights; this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeysWithWeights;
} }
=======
>>>>>>> ce/master
this.setupMapping(); this.setupMapping();
......
...@@ -4,13 +4,10 @@ ...@@ -4,13 +4,10 @@
this.filteredSearchInput = document.querySelector('.filtered-search'); this.filteredSearchInput = document.querySelector('.filtered-search');
this.clearSearchButton = document.querySelector('.clear-search'); this.clearSearchButton = document.querySelector('.clear-search');
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeys; this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeys;
<<<<<<< HEAD
if (page === 'issues') { if (page === 'issues') {
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeysWithWeights; this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeysWithWeights;
} }
=======
>>>>>>> ce/master
if (this.filteredSearchInput) { if (this.filteredSearchInput) {
this.tokenizer = gl.FilteredSearchTokenizer; this.tokenizer = gl.FilteredSearchTokenizer;
...@@ -125,11 +122,7 @@ ...@@ -125,11 +122,7 @@
const keyParam = decodeURIComponent(split[0]); const keyParam = decodeURIComponent(split[0]);
const value = split[1]; const value = split[1];
<<<<<<< HEAD
// Check if it matches edge conditions listed in gl.FilteredSearchTokenKeys
=======
// Check if it matches edge conditions listed in this.filteredSearchTokenKeys // Check if it matches edge conditions listed in this.filteredSearchTokenKeys
>>>>>>> ce/master
const condition = this.filteredSearchTokenKeys.searchByConditionUrl(p); const condition = this.filteredSearchTokenKeys.searchByConditionUrl(p);
if (condition) { if (condition) {
......
...@@ -58,10 +58,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController ...@@ -58,10 +58,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController
assignee = User.find_by_id(params[:assignee_id]) assignee = User.find_by_id(params[:assignee_id])
@users.push(assignee) if assignee @users.push(assignee) if assignee
end end
<<<<<<< HEAD
=======
>>>>>>> ce/master
if params[:author_id].present? if params[:author_id].present?
author = User.find_by_id(params[:author_id]) author = User.find_by_id(params[:author_id])
@users.push(author) if author @users.push(author) if author
......
...@@ -35,15 +35,13 @@ ...@@ -35,15 +35,13 @@
= link_to dashboard_todos_path, title: 'Todos', aria: { label: "Todos" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do = link_to dashboard_todos_path, title: 'Todos', aria: { label: "Todos" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= icon('bell fw') = icon('bell fw')
%span.badge.todos-pending-count{ class: ("hidden" if todos_pending_count == 0) } %span.badge.todos-pending-count{ class: ("hidden" if todos_pending_count == 0) }
<<<<<<< HEAD = todos_count_format(todos_pending_count)
= todos_pending_count
- if Gitlab::Geo.secondary? - if Gitlab::Geo.secondary?
%li %li
= link_to Gitlab::Geo.primary_node.url, title: 'Go to primary node', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do = link_to Gitlab::Geo.primary_node.url, title: 'Go to primary node', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= icon('globe fw') = icon('globe fw')
=======
= todos_count_format(todos_pending_count)
>>>>>>> ce/master
- if Gitlab::Sherlock.enabled? - if Gitlab::Sherlock.enabled?
%li %li
= link_to sherlock_transactions_path, title: 'Sherlock Transactions', = link_to sherlock_transactions_path, title: 'Sherlock Transactions',
......
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