mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
M: Fix redirect to replace history
This commit is contained in:
parent
d3e19d9c64
commit
22ce9ee13b
|
@ -14,11 +14,11 @@ function HomePage() {
|
||||||
if (!loading) {
|
if (!loading) {
|
||||||
if (!user) {
|
if (!user) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
router.push(urls.manuals);
|
router.replace(urls.manuals);
|
||||||
}, PARAMETER.refreshTimeout);
|
}, PARAMETER.refreshTimeout);
|
||||||
} else {
|
} else {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
router.push(urls.library);
|
router.replace(urls.library);
|
||||||
}, PARAMETER.refreshTimeout);
|
}, PARAMETER.refreshTimeout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user