-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix applying global settings to widgets #1350
Conversation
@@ -540,7 +540,8 @@ i.v-icon.mdi-chevron-down { | |||
} | |||
.graph-info { | |||
width: 140px; | |||
margin-left: 70px; | |||
margin-left: 20px; | |||
margin-top: 65px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was just a simply fix the little helper text on TlmGrapher
Quality Gate passedIssues Measures |
// Recursively apply to all widgets contained in layouts | ||
if (widget.widgets) { | ||
this.applyGlobalSettings(widget.widgets) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nesting this inside the forEach loops caused the page to freeze if you have more than a few global settings and nested widgets.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1350 +/- ##
==========================================
+ Coverage 75.21% 75.22% +0.01%
==========================================
Files 600 600
Lines 44676 44680 +4
Branches 777 777
==========================================
+ Hits 33602 33611 +9
+ Misses 10987 10983 -4
+ Partials 87 86 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
No description provided.