forked from verdnatura/salix-front
refs #6795 fix return
This commit is contained in:
parent
ab512e3b03
commit
409bb1a13e
|
@ -33,7 +33,7 @@ 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`);
|
window.open(`${getApiUrl()}/#/claim/${id}/summary`);
|
||||||
else router.push({ path: `/claim/${id}` });
|
return router.push({ path: `/claim/${id}` });
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue