1
0
Fork 0
mirror of synced 2024-09-28 15:21:28 +12:00

Merge pull request #6922 from Budibase/fix/indicators-initial-load

Fix issue showing selected component indicators on initial load
This commit is contained in:
Martin McKeaveney 2022-08-01 16:33:44 +01:00 committed by GitHub
commit 03b133bf9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,6 +72,7 @@
// Sanity limit of 100 active indicators
const children = Array.from(parents)
.map(parent => parent?.children?.[0])
.filter(x => x != null)
.slice(0, 100)
// If there aren't any nodes then reset