mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +00:00
Fix last loc (#2831)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
df7bb05d0d
commit
63a526f573
@ -35,7 +35,7 @@
|
||||
}
|
||||
|
||||
if (application === undefined) {
|
||||
let last = localStorage.getItem(`platform_last_loc_${loc.path[1]}`)
|
||||
let last = loc.path[1] !== undefined ? localStorage.getItem(`platform_last_loc_${loc.path[1]}`) : null
|
||||
if (last === null) {
|
||||
last = localStorage.getItem('platform_last_loc')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user