Skip to content

Commit

Permalink
fix: missing timegraph for gc analysis on legend selection change
Browse files Browse the repository at this point in the history
  • Loading branch information
iyashu committed Jan 31, 2025
1 parent 4dd73ce commit 33a2d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/gclog/TimeGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ function initChart(ref) {
chartInstance = echarts.init(ref.value, isDark.value ? 'dark' : null);
chartInstance.on('legendselectchanged', (params) => {
const expectedTypes = {};
Object.keys(params.selected).forEach((name) => (expectedTypes[this.name2type[name]] = true));
Object.keys(params.selected).forEach((name) => (expectedTypes[name2type[name]] = true));
loadData(expectedTypes);
});
}
Expand Down

0 comments on commit 33a2d22

Please sign in to comment.