Pārlūkot izejas kodu

Wasn't able to login

master
Lene Scholtz 5 gadus atpakaļ
vecāks
revīzija
0ed3de578e

+ 1
- 1
src/components/shared/navBar.vue Parādīt failu

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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt