correcting duplicate path error (#482)
parent
8d4f2a361f
commit
85468ffa0c
|
@ -105,9 +105,11 @@ export default {
|
|||
warehouseUuid: this.warehouseUuid
|
||||
})
|
||||
.then(response => {
|
||||
if (this.$route.name !== 'Dashboard') {
|
||||
this.$router.push({ path: '/' })
|
||||
}
|
||||
this.$store.dispatch('listDashboard', response.uuid)
|
||||
})
|
||||
this.$router.push({ path: '/' })
|
||||
},
|
||||
changeOrganization(organizationUuid) {
|
||||
this.$store.dispatch('user/changeOrganization', {
|
||||
|
|
Loading…
Reference in New Issue