mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fixed timelion props (#29125)
This commit is contained in:
parent
59ab496fbf
commit
6e63c2c944
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ function unflatten(data) {
|
|||
let prop = '';
|
||||
let m;
|
||||
while (m = regex.exec(p)) {
|
||||
cur = cur[prop] || (cur[prop] = (m[2] ? [] : {}));
|
||||
cur = (cur.hasOwnProperty(prop) && cur[prop]) || (cur[prop] = (m[2] ? [] : {}));
|
||||
prop = m[2] || m[1];
|
||||
}
|
||||
cur[prop] = data[p];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue