Commit 497d838d authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Remove the filter bar disabled state

The disabled state for the VSA filter
bar has been removed, this MR cleans
up the code to handle disabling the
filter bar.
parent 996e5c5a
......@@ -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