refs #6795 fix navigate
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-02-16 13:49:11 +01:00
parent 409bb1a13e
commit 72e7bf0f7a
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ function stateColor(code) {
}
function navigate(event, id) {
if (event.ctrlKey || event.metaKey)
window.open(`${getApiUrl()}/#/claim/${id}/summary`);
return router.push({ path: `/claim/${id}` });
return window.open(`${getApiUrl()}/#/claim/${id}/summary`);
router.push({ path: `/claim/${id}` });
}
</script>