Fixed edit search input not clearing, added more post-edit navigation links.

This commit is contained in:
DebaucheryLibrarian 2024-10-09 00:09:45 +02:00
parent 47d3e50a6d
commit 19828d5ed1
4 changed files with 19 additions and 5 deletions

View File

@ -22,7 +22,7 @@
:key="`actor-${actor.slug}`"
v-close-popper
class="actor"
@click="emit('actor', actor)"
@click="emit('actor', actor); query = '';"
>{{ actor.name }} ({{ [actor.ageFromBirth, actor.origin?.country?.alpha2].filter(Boolean).join(', ') }})
<img
v-if="actor.avatar"

View File

@ -22,7 +22,7 @@
:key="`movie-${movie.id}`"
v-close-popper
class="movie"
@click="emit('movie', movie)"
@click="emit('movie', movie); query = '';"
>{{ movie.title }} ({{ [format(movie.effectiveDate, 'yyyy')].filter(Boolean).join(', ') }})
<img
v-if="movie.covers.length > 0"

View File

@ -22,7 +22,7 @@
:key="`tag-${tag.slug}`"
v-close-popper
class="tag"
@click="emit('tag', tag)"
@click="emit('tag', tag); query = '';"
>{{ tag.name }}</li>
</ul>
</div>

View File

@ -24,9 +24,23 @@
<li>
<a
:href="`/user/${user.username}`"
:href="`/scene/revisions/${scene.id}/${scene.slug}`"
class="link"
>Go to profile</a>
>Go to scene revisions</a>
</li>
<li>
<a
:href="`/user/${user.username}/revisions`"
class="link"
>Go to user revisions</a>
</li>
<li v-if="user.role !== 'user'">
<a
href="/admin/revisions"
class="link"
>Go to revisions admin</a>
</li>
</ul>
</p>