Fixed accounts name in dropdown

This commit is contained in:
RemixDev 2020-05-30 21:00:47 +02:00
parent 379ab344ef
commit c3749052d6

View File

@ -580,7 +580,7 @@ <h2 class="page_heading">Settings</h2>
<p>You are logged in as <strong id="settings_username"></strong></p> <p>You are logged in as <strong id="settings_username"></strong></p>
<button id="settings_btn_logout" @click="logout">Logout</button> <button id="settings_btn_logout" @click="logout">Logout</button>
<select v-if="accounts.length" id="family_account" v-model="accountNum" @change="changeAccount"> <select v-if="accounts.length" id="family_account" v-model="accountNum" @change="changeAccount">
<option v-for="(account, i) in accounts" :value="i.toString()">account.BLOG_NAME</option> <option v-for="(account, i) in accounts" :value="i.toString()">{{ account.BLOG_NAME }}</option>
</select> </select>
</div> </div>