mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 00:10:37 +00:00
Try to fix infer type (#7148)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
0820631e62
commit
afdbf5aed7
@ -307,9 +307,6 @@ export function inferType (val: any): string {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (typeof val === 'object') {
|
if (typeof val === 'object') {
|
||||||
if (val == null) {
|
|
||||||
return ''
|
|
||||||
}
|
|
||||||
if (val instanceof Date) {
|
if (val instanceof Date) {
|
||||||
return '::text'
|
return '::text'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user