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,7 +243,7 @@ export default {
243 243
       'token',
244 244
     ]),
245 245
     NAME() {
246
-      return JSON.parse(this.person).fullName;
246
+      return this.person.fullName;
247 247
     },
248 248
     isLoggedIn() {
249 249
       return this.token !== null && this.token !== undefined;

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

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

Loading…
Cancel
Save