@@ -65,7 +65,7 @@
|
|||||||
</Actions>
|
</Actions>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="filter" v-if="filterVisible">
|
<div v-if="filterVisible" class="filter">
|
||||||
<h3>{{ t('deck', 'Filter by tag') }}</h3>
|
<h3>{{ t('deck', 'Filter by tag') }}</h3>
|
||||||
<div v-for="label in labelsSorted" :key="label.id" class="filter--item">
|
<div v-for="label in labelsSorted" :key="label.id" class="filter--item">
|
||||||
<input
|
<input
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</Popover>
|
</Popover>
|
||||||
|
|
||||||
<Actions :style="archivedOpacity">
|
<Actions>
|
||||||
<ActionButton
|
<ActionButton
|
||||||
icon="icon-archive"
|
icon="icon-archive"
|
||||||
@click="toggleShowArchived">
|
@click="toggleShowArchived">
|
||||||
@@ -243,12 +243,6 @@ export default {
|
|||||||
name: 'board.details',
|
name: 'board.details',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
archivedOpacity() {
|
|
||||||
if (this.showArchived) {
|
|
||||||
return 'opacity: 1;'
|
|
||||||
}
|
|
||||||
return 'opacity: .5;'
|
|
||||||
},
|
|
||||||
isFilterActive() {
|
isFilterActive() {
|
||||||
if (this.filter.tags.length !== 0 || this.filter.users.length !== 0 || this.filter.due !== '') {
|
if (this.filter.tags.length !== 0 || this.filter.users.length !== 0 || this.filter.due !== '') {
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user