Commit f6144538 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'vsa-remove-filter-bar-disabled-state' into 'master'

VSA - Remove filter bar disabled state

See merge request gitlab-org/gitlab!37405
parents a7d148b6 497d838d
......@@ -140,9 +140,6 @@ export default {
stageCount() {
return this.activeStages.length;
},
hasProject() {
return this.selectedProjectIds.length > 0;
},
projectsQueryParams() {
return {
per_page: PROJECTS_PER_PAGE,
......@@ -265,7 +262,6 @@ export default {
<filter-bar
v-if="shouldDisplayFilterBar"
class="js-filter-bar filtered-search-box gl-display-flex gl-mt-3 mt-md-0 gl-mr-3 gl-border-none"
:disabled="!hasProject"
/>
<div v-if="shouldDisplayFilters" class="gl-justify-content-end gl-white-space-nowrap">
<date-range
......
......@@ -29,13 +29,6 @@ export default {
components: {
GlFilteredSearch,
},
props: {
disabled: {
type: Boolean,
required: false,
default: false,
},
},
data() {
return {
value: [],
......@@ -166,7 +159,6 @@ export default {
<template>
<gl-filtered-search
v-model="value"
:disabled="disabled"
:placeholder="__('Filter results')"
:clear-button-title="__('Clear')"
:close-button-title="__('Close')"
......
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