Fixed family account switch

This commit is contained in:
RemixDev 2021-01-23 13:17:46 +01:00
parent a7ab03ad1b
commit 2b1cb50ed2
No known key found for this signature in database
GPG Key ID: B33962B465BDB51C
2 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -21,9 +21,9 @@
{{ $t('settings.login.logout') }}
</button>
<select v-if="accounts.length" id="family_account" v-model="accountNum" @change="changeAccount">
<select v-if="accounts.length > 1" id="family_account" v-model="accountNum" @change="changeAccount">
<option v-for="(account, i) in accounts" :key="account" :value="i.toString()">
{{ account.BLOG_NAME }}
{{ account.name }}
</option>
</select>
</div>