fix: make sure the filter button is always shown on the kanban board
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2022-10-23 13:48:45 +02:00
parent a695719128
commit 80230069c6
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 12 additions and 1 deletions

View File

@ -193,4 +193,15 @@ describe('List View Kanban', () => {
cy.get('.kanban .bucket')
.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')
})
})

View File

@ -1,7 +1,7 @@
<template>
<ListWrapper class="list-kanban" :list-id="listId" viewName="kanban">
<template #header>
<div class="filter-container" v-if="isSavedFilter(list)">
<div class="filter-container" v-if="!isSavedFilter(listId)">
<div class="items">
<filter-popup
v-model="params"