diff --git a/frontend/src/components/gclog/TimeGraph.vue b/frontend/src/components/gclog/TimeGraph.vue index 7fee5f8e..b8f308e5 100644 --- a/frontend/src/components/gclog/TimeGraph.vue +++ b/frontend/src/components/gclog/TimeGraph.vue @@ -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); }); }