This commit is contained in:
ogerly 2022-10-28 12:27:04 +02:00
parent 8c1c260418
commit 9b7dc2cac7
3 changed files with 15 additions and 14 deletions

View File

@ -1,13 +1,13 @@
<template> <template>
<filter-menu-section :title="$t('filter-menu.categories')" class="categories-filter"> <filter-menu-section :title="$t('filter-menu.categories')" class="categories-filter">
<template #filter-themen> <template #filter-themen>
<li class="item"> <li class="item">
<labeled-button <labeled-button
:filled="!filteredCategoryIds.length" :filled="!filteredCategoryIds.length"
:label="$t('filter-menu.all')" :label="$t('filter-menu.all')"
icon="check" icon="check"
@click="resetCategories" @click="resetCategories"
/> />
</li> </li>
<li class="item"> <li class="item">
<labeled-button filled :label="$t('actions.save')" icon="save" @click="saveCategories" /> <labeled-button filled :label="$t('actions.save')" icon="save" @click="saveCategories" />

View File

@ -1,7 +1,7 @@
<template> <template>
<section class="filter-menu-section"> <section class="filter-menu-section">
<h3 v-if="title" class="title">{{ title }}</h3> <h3 v-if="title" class="title">{{ title }}</h3>
<ul class="filter-list"> <ul class="filter-list">
<slot name="filter-follower" /> <slot name="filter-follower" />
</ul> </ul>

View File

@ -1,14 +1,15 @@
<template> <template>
<filter-menu-section :divider="false" class="following-filter"> <filter-menu-section :divider="false" class="following-filter">
<template #filter-follower> <template #filter-follower>
<li class="item"> <li class="item">
<labeled-button <labeled-button
icon="user-plus" icon="user-plus"
:label="$t('filter-menu.following')" :label="$t('filter-menu.following')"
:filled="filteredByUsersFollowed" :filled="filteredByUsersFollowed"
:title="$t('contribution.filterFollow')" :title="$t('contribution.filterFollow')"
@click="toggleFilteredByFollowed(currentUser.id)" @click="toggleFilteredByFollowed(currentUser.id)"
/></li> />
</li>
</template> </template>
</filter-menu-section> </filter-menu-section>
</template> </template>