Zaklad pro zadavani novych letu
This commit is contained in:
@@ -24,6 +24,7 @@ export const useUserStore = defineStore('LoggedUser', {
|
||||
},
|
||||
|
||||
async setupCredentials() {
|
||||
// TODO: aktualne se vola s kazdym prechodem mezi routami, to je urcite zbytecne!
|
||||
await api.get("/me").then(({data}) => {
|
||||
this.user = data;
|
||||
}).catch(e => {
|
||||
|
||||
Reference in New Issue
Block a user