We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87b869 commit b894144Copy full SHA for b894144
components/ProfilerPageCallGraph/ProfilerPageCallGraph.vue
@@ -110,13 +110,14 @@ export default defineComponent({
110
setThreshold(threshold: number): void {
111
this.metricLoading = true;
112
113
+ const prevThreshold = this.threshold;
114
+ this.threshold = threshold;
115
+
116
return debounce(() => {
- if (!threshold || this.threshold === threshold) {
117
+ if (!threshold || prevThreshold === threshold) {
118
return;
119
}
120
- this.threshold = threshold;
-
121
setTimeout(() => {
122
this.renderGraph();
123
this.metricLoading = false;
0 commit comments