Merge pull request #6922 from Budibase/fix/indicators-initial-load
Fix issue showing selected component indicators on initial load
This commit is contained in:
commit
03b133bf9b
|
@ -72,6 +72,7 @@
|
||||||
// Sanity limit of 100 active indicators
|
// Sanity limit of 100 active indicators
|
||||||
const children = Array.from(parents)
|
const children = Array.from(parents)
|
||||||
.map(parent => parent?.children?.[0])
|
.map(parent => parent?.children?.[0])
|
||||||
|
.filter(x => x != null)
|
||||||
.slice(0, 100)
|
.slice(0, 100)
|
||||||
|
|
||||||
// If there aren't any nodes then reset
|
// If there aren't any nodes then reset
|
||||||
|
|
Loading…
Reference in New Issue