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
             </li>
186
             </li>
187
             <li>
187
             <li>
188
               <span v-if="isLoggedIn">
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
               </span>
190
               </span>
195
               <span v-else></span>
191
               <span v-else></span>
196
             </li>
192
             </li>
225
       'token',
221
       'token',
226
     ]),
222
     ]),
227
     NAME() {
223
     NAME() {
228
-      return this.person.fullName;
224
+      return this.person.name;
229
     },
225
     },
230
     isLoggedIn() {
226
     isLoggedIn() {
231
       return this.token !== null && this.token !== undefined;
227
       return this.token !== null && this.token !== undefined;

Loading…
Cancel
Save