Show user name on the main page

This commit is contained in:
Milos Stojanovic
2020-02-25 16:52:18 +01:00
parent 4bbc3545f6
commit 3e0b34d37a
3 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
{{ lang('Login') }}
</a>
<a v-if="!is('guest')" class="navbar-item" @click="profile">
{{ lang('Profile') }}
{{ this.$store.state.user.name }}
</a>
<a v-if="!is('guest')" class="navbar-item" @click="logout">
{{ lang('Logout') }}

View File

@@ -2,7 +2,7 @@
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title">
{{ $store.state.user.name }}
{{ lang('Profile') }}
</p>
</header>
<section class="modal-card-body">