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 { ...@@ -140,9 +140,6 @@ export default {
stageCount() { stageCount() {
return this.activeStages.length; return this.activeStages.length;
}, },
hasProject() {
return this.selectedProjectIds.length > 0;
},
projectsQueryParams() { projectsQueryParams() {
return { return {
per_page: PROJECTS_PER_PAGE, per_page: PROJECTS_PER_PAGE,
...@@ -265,7 +262,6 @@ export default { ...@@ -265,7 +262,6 @@ export default {
<filter-bar <filter-bar
v-if="shouldDisplayFilterBar" 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" 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"> <div v-if="shouldDisplayFilters" class="gl-justify-content-end gl-white-space-nowrap">
<date-range <date-range
......
...@@ -29,13 +29,6 @@ export default { ...@@ -29,13 +29,6 @@ export default {
components: { components: {
GlFilteredSearch, GlFilteredSearch,
}, },
props: {
disabled: {
type: Boolean,
required: false,
default: false,
},
},
data() { data() {
return { return {
value: [], value: [],
...@@ -166,7 +159,6 @@ export default { ...@@ -166,7 +159,6 @@ export default {
<template> <template>
<gl-filtered-search <gl-filtered-search
v-model="value" v-model="value"
:disabled="disabled"
:placeholder="__('Filter results')" :placeholder="__('Filter results')"
:clear-button-title="__('Clear')" :clear-button-title="__('Clear')"
:close-button-title="__('Close')" :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