Fixed family account switch
This commit is contained in:
parent
a7ab03ad1b
commit
2b1cb50ed2
File diff suppressed because one or more lines are too long
@ -21,9 +21,9 @@
|
|||||||
{{ $t('settings.login.logout') }}
|
{{ $t('settings.login.logout') }}
|
||||||
</button>
|
</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()">
|
<option v-for="(account, i) in accounts" :key="account" :value="i.toString()">
|
||||||
{{ account.BLOG_NAME }}
|
{{ account.name }}
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user