Don't show filter and search buttons for saved filter lists

This commit is contained in:
kolaente 2020-12-24 01:33:25 +01:00
parent ab24885ee9
commit 7c656d4708
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<div class="filter-container"> <div class="filter-container" v-if="list.isSavedFilter && !list.isSavedFilter()">
<div class="items"> <div class="items">
<button @click="showFilters = !showFilters" class="button"> <button @click="showFilters = !showFilters" class="button">
<span class="icon is-small"> <span class="icon is-small">
@ -332,6 +332,7 @@ export default {
loadedListId: state => state.kanban.listId, loadedListId: state => state.kanban.listId,
loading: LOADING, loading: LOADING,
canWrite: state => state.currentList.maxRight > Rights.READ, canWrite: state => state.currentList.maxRight > Rights.READ,
list: state => state.currentList,
}), }),
methods: { methods: {
loadBuckets() { loadBuckets() {

View file

@ -1,6 +1,6 @@
<template> <template>
<div :class="{ 'is-loading': taskCollectionService.loading}" class="loader-container is-max-width-desktop"> <div :class="{ 'is-loading': taskCollectionService.loading}" class="loader-container is-max-width-desktop">
<div class="filter-container"> <div class="filter-container" v-if="list.isSavedFilter && !list.isSavedFilter()">
<div class="items"> <div class="items">
<div class="search"> <div class="search">
<div :class="{ 'hidden': !showTaskSearch }" class="field has-addons"> <div :class="{ 'hidden': !showTaskSearch }" class="field has-addons">