Don't show filter and search buttons for saved filter lists
This commit is contained in:
parent
ab24885ee9
commit
7c656d4708
2 changed files with 3 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue