Remove frontend console debug logs

This commit is contained in:
Kevin Thomas
2021-11-12 21:55:26 -08:00
parent a441698999
commit eb3c00d6c1
5 changed files with 12 additions and 52 deletions

View File

@@ -20,9 +20,6 @@ export default {
this.$router.push('/login')
}
})
.catch((error) => {
console.error(error.response)
})
},
getCurrentUser () {
this.loggedIn = false
@@ -35,8 +32,7 @@ export default {
this.$vuetify.theme.dark = response.data.user.darkMode
}
})
.catch((error) => {
console.error(error.response)
.catch(() => {
this.isAdmin = false
})
},
@@ -44,9 +40,6 @@ export default {
this.$http.patch('/users/dark-mode', {
darkMode: this.$vuetify.theme.dark
})
.catch((error) => {
console.error(error.response)
})
}
}
}