Random and less listened radio filter out un-owned content on library section (#2007)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2285>
This commit is contained in:
parent
5ff28cb52c
commit
03a5a83a3b
4 changed files with 49 additions and 2 deletions
|
|
@ -129,12 +129,23 @@ const paginateOptions = computed(() => sortedUniq([12, 25, 50, paginateBy.value]
|
|||
v-if="isAuthenticated && hasFavorites"
|
||||
:type="'favorites'"
|
||||
/>
|
||||
<radio-card :type="'random'" />
|
||||
<radio-card
|
||||
v-if="scope === 'all'"
|
||||
:type="'random'"
|
||||
/>
|
||||
<radio-card
|
||||
v-if="scope === 'me'"
|
||||
:type="'random_library'"
|
||||
/>
|
||||
<radio-card :type="'recently-added'" />
|
||||
<radio-card
|
||||
v-if="$store.state.auth.authenticated"
|
||||
v-if="$store.state.auth.authenticated && scope === 'all'"
|
||||
:type="'less-listened'"
|
||||
/>
|
||||
<radio-card
|
||||
v-if="$store.state.auth.authenticated && scope === 'me'"
|
||||
:type="'less-listened_library'"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue