mirror of
https://github.com/filegator/filegator.git
synced 2025-01-17 20:58:27 +01:00
fixes #31
This commit is contained in:
parent
fd2d3d2f92
commit
165093b9c5
@ -246,7 +246,7 @@ export default {
|
||||
.catch(error => this.handleError(error))
|
||||
},
|
||||
goTo(path) {
|
||||
this.$router.push({ name: 'browser', query: { 'cd': path }})
|
||||
this.$router.push({ name: 'browser', query: { 'cd': path }}).catch(() => {})
|
||||
},
|
||||
getSelected() {
|
||||
return _.reduce(this.checked, function(result, value) {
|
||||
|
@ -58,7 +58,7 @@ export default {
|
||||
api.getUser()
|
||||
.then(user => {
|
||||
this.$store.commit('setUser', user)
|
||||
this.$router.push('/login')
|
||||
this.$router.push('/')
|
||||
})
|
||||
.catch(() => {
|
||||
this.$store.commit('initialize')
|
||||
|
Loading…
x
Reference in New Issue
Block a user