Browse Source

Wasn't able to login

master
Lene Scholtz 5 years ago
parent
commit
0ed3de578e
2 changed files with 1 additions and 2 deletions
  1. 1
    1
      src/components/shared/navBar.vue
  2. 0
    1
      src/components/user/loginPage.vue

+ 1
- 1
src/components/shared/navBar.vue View File

243
       'token',
243
       'token',
244
     ]),
244
     ]),
245
     NAME() {
245
     NAME() {
246
-      return JSON.parse(this.person).fullName;
246
+      return this.person.fullName;
247
     },
247
     },
248
     isLoggedIn() {
248
     isLoggedIn() {
249
       return this.token !== null && this.token !== undefined;
249
       return this.token !== null && this.token !== undefined;

+ 0
- 1
src/components/user/loginPage.vue View File

6
         <div class="form">
6
         <div class="form">
7
           <div>
7
           <div>
8
             <h4>Login</h4>
8
             <h4>Login</h4>
9
-            <br />
10
           </div>
9
           </div>
11
           <div v-if="this.$store.state.authentication.status === 'error'">
10
           <div v-if="this.$store.state.authentication.status === 'error'">
12
             <alert
11
             <alert

Loading…
Cancel
Save