Use programmatic navigation

pull/496/head
Cagatay Civici 2020-09-21 17:19:27 +03:00
parent e6f20f0e2c
commit 5cad8a0fad
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ export default {
{ label: 'Upload', { label: 'Upload',
icon: 'pi pi-upload', icon: 'pi pi-upload',
command: () => { command: () => {
window.location.hash = "/fileupload" this.$router.push('fileupload');
} }
} }
] ]

View File

@ -103,7 +103,7 @@ export default {
{ label: 'Upload', { label: 'Upload',
icon: 'pi pi-upload', icon: 'pi pi-upload',
command: () => { command: () => {
window.location.hash = "/fileupload" this.$router.push('fileupload');
} }
} }
] ]