refs #6795 summary, order #183

Merged
carlossa merged 13 commits from 6795-claimRefact into dev 2024-02-16 13:44:42 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 72e7bf0f7a - Show all commits

View File

@ -32,8 +32,8 @@ function stateColor(code) {
}
function navigate(event, id) {
if (event.ctrlKey || event.metaKey)
carlossa marked this conversation as resolved
Review

Pero un return en el window.open

Pero un return en el window.open
window.open(`${getApiUrl()}/#/claim/${id}/summary`);
return router.push({ path: `/claim/${id}` });
return window.open(`${getApiUrl()}/#/claim/${id}/summary`);
carlossa marked this conversation as resolved Outdated
Outdated
Review

Aci tb se podria ficar un return i te ahorres el else

Aci tb se podria ficar un return i te ahorres el else
router.push({ path: `/claim/${id}` });
}
</script>