forked from Mirrors/elk
refactor: improve user switcher UI
This commit is contained in:
parent
a473cc2de5
commit
de59800c2b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ const sorted = computed(() => {
|
||||||
:link="false"
|
:link="false"
|
||||||
:full-server="true"
|
:full-server="true"
|
||||||
rounded p2
|
rounded p2
|
||||||
hover:bg-active cursor-pointer transition-100
|
:class="user.token !== currentUser?.token ? 'hover:bg-active cursor-pointer transition-100' : ''"
|
||||||
@click="loginTo(user)"
|
@click="loginTo(user)"
|
||||||
>
|
>
|
||||||
<template v-if="user.token === currentUser?.token">
|
<template v-if="user.token === currentUser?.token">
|
||||||
|
|
Loading…
Reference in a new issue