mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 16:27:22 +00:00
UBER-136: Fix Exception with custom attributes (#3195)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
f39514ee73
commit
1b9b25e0a8
@ -26,7 +26,7 @@
|
||||
if (value === undefined) return
|
||||
let str = ''
|
||||
if (Array.isArray(value)) {
|
||||
str = value.reduce((acc, curr, i) => (acc += i === 0 ? curr : ` ${curr}`))
|
||||
str = value.reduce((acc, curr, i) => (acc += i === 0 ? curr : ` ${curr}`), '')
|
||||
} else {
|
||||
str = value
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user