Merge branch '5989-redirectSalix' of https://gitea.verdnatura.es/verdnatura/salix-front into 5989-redirectSalix
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
commit
dbd5715c13
|
@ -26,7 +26,7 @@ async function redirect() {
|
||||||
if (route?.params?.id) {
|
if (route?.params?.id) {
|
||||||
window.location.href = await getUrl(`${section}/${route.params.id}/summary`);
|
window.location.href = await getUrl(`${section}/${route.params.id}/summary`);
|
||||||
} else {
|
} else {
|
||||||
window.location.href = await getUrl(section + 'dashboard');
|
window.location.href = await getUrl(section + '/index');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue