mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
[refactor] changed button layout in filter menu
This commit is contained in:
parent
7c56ad9728
commit
e81254e531
@ -5,22 +5,26 @@
|
||||
class="following-filter">
|
||||
<template #filter-follower>
|
||||
<li class="item follower-item">
|
||||
<labeled-button
|
||||
<base-button
|
||||
icon="user-plus"
|
||||
:label="$t('filter-menu.following')"
|
||||
:filled="filteredByUsersFollowed"
|
||||
:title="$t('contribution.filterFollow')"
|
||||
@click="toggleFilteredByFollowed(currentUser.id)"
|
||||
/>
|
||||
>
|
||||
{{ $t('contribution.filterFollow') }}
|
||||
</base-button>
|
||||
</li>
|
||||
<li class="item posts-in-my-groups-item">
|
||||
<labeled-button
|
||||
<base-button
|
||||
icon="users"
|
||||
:label="$t('filter-menu.my-groups')"
|
||||
:filled="filteredByPostsInMyGroups"
|
||||
:title="$t('contribution.filterMyGroups')"
|
||||
@click="toggleFilteredByMyGroups()"
|
||||
/>
|
||||
>
|
||||
{{ $t('contribution.filterMyGroups') }}
|
||||
</base-button>
|
||||
</li>
|
||||
</template>
|
||||
</filter-menu-section>
|
||||
|
||||
@ -5,14 +5,16 @@
|
||||
class="following-filter"
|
||||
>
|
||||
<template #filter-follower>
|
||||
<li class="item all-item">
|
||||
<labeled-button
|
||||
<li class="item all-item">
|
||||
<base-button
|
||||
icon="check"
|
||||
:label="$t('filter-menu.all')"
|
||||
:filled="filteredPostTypes.length === 0"
|
||||
:title="$t('filter-menu.all')"
|
||||
@click="togglePostType(null)"
|
||||
/>
|
||||
>
|
||||
{{ $t('filter-menu.all') }}
|
||||
</base-button>
|
||||
</li>
|
||||
<li class="item article-item">
|
||||
<labeled-button
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user