Browse Source

Shortened the welcome with the username

master
Lene Scholtz 5 years ago
parent
commit
349f7fd9b4
1 changed files with 2 additions and 6 deletions
  1. 2
    6
      src/components/shared/navBar.vue

+ 2
- 6
src/components/shared/navBar.vue View File

@@ -186,11 +186,7 @@
186 186
             </li>
187 187
             <li>
188 188
               <span v-if="isLoggedIn">
189
-                <a @click="routerGoTo('/user/updateProfileInfo')">
190
-                  Welcome!
191
-                  <br />
192
-                  {{ NAME }}
193
-                </a>
189
+                <a @click="routerGoTo('/user/updateProfileInfo')">Hi! {{ NAME }}</a>
194 190
               </span>
195 191
               <span v-else></span>
196 192
             </li>
@@ -225,7 +221,7 @@ export default {
225 221
       'token',
226 222
     ]),
227 223
     NAME() {
228
-      return this.person.fullName;
224
+      return this.person.name;
229 225
     },
230 226
     isLoggedIn() {
231 227
       return this.token !== null && this.token !== undefined;

Loading…
Cancel
Save