mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +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 (val == null) {
|
||||
return ''
|
||||
}
|
||||
if (val instanceof Date) {
|
||||
return '::text'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user