Fixed edit search input not clearing, added more post-edit navigation links.
This commit is contained in:
parent
47d3e50a6d
commit
19828d5ed1
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue