refactor: improve user switcher UI

This commit is contained in:
三咲智子 2022-11-24 01:16:36 +08:00
parent a473cc2de5
commit de59800c2b
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -21,7 +21,7 @@ const sorted = computed(() => {
:link="false"
:full-server="true"
rounded p2
hover:bg-active cursor-pointer transition-100
:class="user.token !== currentUser?.token ? 'hover:bg-active cursor-pointer transition-100' : ''"
@click="loginTo(user)"
>
<template v-if="user.token === currentUser?.token">