forked from verdnatura/salix-front
refs #6795 fix navigate
This commit is contained in:
parent
409bb1a13e
commit
72e7bf0f7a
|
@ -32,8 +32,8 @@ function stateColor(code) {
|
||||||
}
|
}
|
||||||
function navigate(event, id) {
|
function navigate(event, id) {
|
||||||
if (event.ctrlKey || event.metaKey)
|
if (event.ctrlKey || event.metaKey)
|
||||||
window.open(`${getApiUrl()}/#/claim/${id}/summary`);
|
return window.open(`${getApiUrl()}/#/claim/${id}/summary`);
|
||||||
return router.push({ path: `/claim/${id}` });
|
router.push({ path: `/claim/${id}` });
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue