mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-12 19:30:52 +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 {
|
||||
if (typeof obj === 'undefined') {
|
||||
return undefined
|
||||
}
|
||||
if (typeof obj === 'function') {
|
||||
return obj
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user