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

View File

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

View File

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