mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
Fix location override (#3004)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
4d7dd1ff18
commit
2d32f677d9
@ -481,7 +481,7 @@ export function categorizeFields (
|
||||
}
|
||||
|
||||
export function makeViewletKey (loc?: Location): string {
|
||||
loc = loc ?? getCurrentLocation()
|
||||
loc = loc != null ? { path: loc.path } : getCurrentLocation()
|
||||
loc.fragment = undefined
|
||||
loc.query = undefined
|
||||
return 'viewlet' + locationToUrl(loc)
|
||||
|
Loading…
Reference in New Issue
Block a user