mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-31 20:29:55 +02:00
Hierarchy clone undefined (#2639)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -489,6 +489,9 @@ export class Hierarchy {
|
||||
}
|
||||
|
||||
clone (obj: any): any {
|
||||
if (typeof obj === 'undefined') {
|
||||
return undefined
|
||||
}
|
||||
if (typeof obj === 'function') {
|
||||
return obj
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user