Merge pull request #500 from gfrenoy/master

Show account name when hovering on global header (possibly fixes #12)
This commit is contained in:
AkiraFukushima 2018-08-16 08:47:55 +09:00 committed by GitHub
commit 2ce56c46c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
active-text-color="#ffffff">
<el-menu-item :index="index.toString()" v-for="(account, index) in accounts" v-bind:key="account._id" :route="{path: `/${account._id}/home`}" @click="select(account)">
<i v-if="account.avatar === undefined || account.avatar === null || account.avatar === ''" class="el-icon-menu"></i>
<img v-else :src="account.avatar" class="avatar" />
<img v-else :src="account.avatar" class="avatar" :title="account.username + '@' + account.domain" />
<span slot="title">{{ account.domain }}</span>
</el-menu-item>
<el-menu-item index="/login" @click="login">