Browse Source
Merge pull request #6922 from Budibase/fix/indicators-initial-load
Fix issue showing selected component indicators on initial load
master
Martin McKeaveney
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
packages/client/src/components/preview/IndicatorSet.svelte
|
|
|
@ -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 |
|
|
|
|