mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-21 07:46:24 +00:00
Hierarchy clone undefined (#2639)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
12a241eee7
commit
13e667e7a7
@ -489,6 +489,9 @@ export class Hierarchy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
clone (obj: any): any {
|
clone (obj: any): any {
|
||||||
|
if (typeof obj === 'undefined') {
|
||||||
|
return undefined
|
||||||
|
}
|
||||||
if (typeof obj === 'function') {
|
if (typeof obj === 'function') {
|
||||||
return obj
|
return obj
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user