fix: make sure the filter button is always shown on the kanban board
This commit is contained in:
parent
a695719128
commit
80230069c6
@ -193,4 +193,15 @@ describe('List View Kanban', () => {
|
|||||||
cy.get('.kanban .bucket')
|
cy.get('.kanban .bucket')
|
||||||
.should('not.contain', task.title)
|
.should('not.contain', task.title)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('Shows a button to filter the kanban board', () => {
|
||||||
|
const data = TaskFactory.create(10, {
|
||||||
|
list_id: 1,
|
||||||
|
bucket_id: 1,
|
||||||
|
})
|
||||||
|
cy.visit('/lists/1/kanban')
|
||||||
|
|
||||||
|
cy.get('.list-kanban .filter-container .base-button')
|
||||||
|
.should('exist')
|
||||||
|
})
|
||||||
})
|
})
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<ListWrapper class="list-kanban" :list-id="listId" viewName="kanban">
|
<ListWrapper class="list-kanban" :list-id="listId" viewName="kanban">
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="filter-container" v-if="isSavedFilter(list)">
|
<div class="filter-container" v-if="!isSavedFilter(listId)">
|
||||||
<div class="items">
|
<div class="items">
|
||||||
<filter-popup
|
<filter-popup
|
||||||
v-model="params"
|
v-model="params"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user