navigation fix

This commit is contained in:
Peter Papp
2021-04-30 08:16:44 +02:00
parent aea4213ec2
commit 5167ae520e
4 changed files with 16 additions and 9 deletions

View File

@@ -75,7 +75,9 @@ export default {
},
methods: {
goToCompany() {
this.$router.push({name: 'ClientDetail', params: {id: this.item.id}})
this.$router.push({name: 'ClientDetail', params: {id: this.item.client_id}})
events.$emit('file-preview:hide')
this.isVisible = false
},
downloadItem() {
if (this.clipboard.length > 1)