forked from Mirrors/elk
ui: hide info on no users
This commit is contained in:
parent
45d1a9a2bd
commit
fd5f817087
1 changed files with 11 additions and 9 deletions
|
@ -70,16 +70,18 @@ async function importTokens() {
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div p4>
|
<div p4>
|
||||||
<div flex="~ col gap2">
|
<template v-if="loggedInUsers.length">
|
||||||
<div v-for="user of loggedInUsers" :key="user.account.id">
|
<div flex="~ col gap2">
|
||||||
<AccountInfo :account="user.account" :hover-card="false" />
|
<div v-for="user of loggedInUsers" :key="user.account.id">
|
||||||
|
<AccountInfo :account="user.account" :hover-card="false" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div my4 border="t base" />
|
||||||
<div my4 border="t base" />
|
<button btn-text flex="~ gap-2" items-center @click="exportTokens">
|
||||||
<button btn-text flex="~ gap-2" items-center @click="exportTokens">
|
<div i-ri-download-2-line />
|
||||||
<div i-ri-download-2-line />
|
Export User Tokens
|
||||||
Export User Tokens
|
</button>
|
||||||
</button>
|
</template>
|
||||||
<button btn-text flex="~ gap-2" items-center @click="importTokens">
|
<button btn-text flex="~ gap-2" items-center @click="importTokens">
|
||||||
<div i-ri-upload-2-line />
|
<div i-ri-upload-2-line />
|
||||||
Import User Tokens
|
Import User Tokens
|
||||||
|
|
Loading…
Reference in a new issue