Fixed trying to load tasks even when the user was not authenticated
This commit is contained in:
@ -38,7 +38,9 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.loadPendingTasks()
|
||||
if (auth.user.authenticated) {
|
||||
this.loadPendingTasks()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
logout() {
|
||||
|
Reference in New Issue
Block a user