Преглед на файлове

fixed init user check fi loggedin

bach преди 2 години
родител
ревизия
3e791910cc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/stores/user.js

+ 1 - 1
src/stores/user.js

@@ -29,7 +29,7 @@ export const UserStore = defineStore({
             this.uid = data.attributes.drupal_internal__uid
             this.mail = data.attributes.mail
             this.name = data.attributes.name
-            this.isloggedin = data.attributes.status
+            this.isloggedin = true //data.attributes.status
             console.log('user store checkuser isloggedin', this.isloggedin);
           })
         }