You've already forked AstralRinth
forked from didirus/AstralRinth
Fix collections button tooltip
This commit is contained in:
@@ -515,8 +515,15 @@
|
|||||||
</nuxt-link>
|
</nuxt-link>
|
||||||
</ButtonStyled>
|
</ButtonStyled>
|
||||||
<ButtonStyled size="large" circular>
|
<ButtonStyled size="large" circular>
|
||||||
<PopoutMenu v-if="auth.user" from="top-right">
|
<PopoutMenu v-if="auth.user" v-tooltip="'Save'" from="top-right">
|
||||||
<BookmarkIcon aria-hidden="true" />
|
<BookmarkIcon
|
||||||
|
aria-hidden="true"
|
||||||
|
:fill="
|
||||||
|
collections.some((x) => x.projects.includes(project.id))
|
||||||
|
? 'currentColor'
|
||||||
|
: 'none'
|
||||||
|
"
|
||||||
|
/>
|
||||||
<template #menu>
|
<template #menu>
|
||||||
<input
|
<input
|
||||||
v-model="displayCollectionsSearch"
|
v-model="displayCollectionsSearch"
|
||||||
@@ -526,7 +533,9 @@
|
|||||||
/>
|
/>
|
||||||
<div v-if="collections.length > 0" class="collections-list">
|
<div v-if="collections.length > 0" class="collections-list">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
v-for="option in collections"
|
v-for="option in collections
|
||||||
|
.slice()
|
||||||
|
.sort((a, b) => a.name.localeCompare(b.name))"
|
||||||
:key="option.id"
|
:key="option.id"
|
||||||
:model-value="option.projects.includes(project.id)"
|
:model-value="option.projects.includes(project.id)"
|
||||||
class="popout-checkbox"
|
class="popout-checkbox"
|
||||||
|
|||||||
Reference in New Issue
Block a user