Commit e0c82701 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'sec_rep_spec_ff_fix' into 'master'

Add text for dynamic QA selector for new filter

See merge request gitlab-org/gitlab!68566
parents 69115cf8 61dea87a
...@@ -10,7 +10,7 @@ export default { ...@@ -10,7 +10,7 @@ export default {
}, },
text: { text: {
type: String, type: String,
required: false, required: true,
default: '', default: '',
}, },
}, },
......
...@@ -227,6 +227,7 @@ export default { ...@@ -227,6 +227,7 @@ export default {
v-for="project in selectableProjects" v-for="project in selectableProjects"
:key="project.id" :key="project.id"
:is-checked="isSelected(project.id)" :is-checked="isSelected(project.id)"
:text="project.name"
@click="toggleOption(project)" @click="toggleOption(project)"
> >
<div v-safe-html="highlightSearchTerm(project.name)"></div> <div v-safe-html="highlightSearchTerm(project.name)"></div>
......
...@@ -7,6 +7,7 @@ describe('Filter Item component', () => { ...@@ -7,6 +7,7 @@ describe('Filter Item component', () => {
const defaultProps = { const defaultProps = {
isChecked: false, isChecked: false,
text: 'filter',
}; };
const createWrapper = (props, slotContent = '') => { const createWrapper = (props, slotContent = '') => {
......
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