refactor: improve user switcher UI
parent
a473cc2de5
commit
de59800c2b
|
@ -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 New Issue