@@ -17,7 +17,7 @@ import { getModuleType } from '../../utils/module-type'
1717
1818const mouse = reactive (useMouse ())
1919const params = useRoute ().params as Record <string , string >
20- const chart = computed <' frame ' | ' treemap' | ' sunburst' >(() => params .chart ?.[0 ] as any || ' treemap' )
20+ const chart = computed <' flamegraph ' | ' treemap' | ' sunburst' >(() => params .chart ?.[0 ] as any || ' treemap' )
2121const nodeHover = shallowRef <ChartNode | undefined >(undefined )
2222const nodeSelected = shallowRef <ChartNode | undefined >(undefined )
2323const location = window .location
@@ -219,7 +219,7 @@ watch(
219219 case ' sunburst' :
220220 graph .value = new Sunburst (tree .value .root , options .value )
221221 break
222- case ' frame ' :
222+ case ' flamegraph ' :
223223 graph .value = new Flamegraph (tree .value .root , options .value )
224224 break
225225 default :
@@ -294,11 +294,11 @@ onUnmounted(() => {
294294 </NuxtLink >
295295 <NuxtLink
296296 btn-action as =" button"
297- :to =" { path: '/chart/frame ', hash: location.hash }"
297+ :to =" { path: '/chart/flamegraph ', hash: location.hash }"
298298 active-class =" text-primary bg-primary:5"
299299 >
300300 <div i-ph-chart-bar-horizontal-duotone />
301- Framegraph
301+ Flamegraph
302302 </NuxtLink >
303303
304304 <div flex-auto />
@@ -310,8 +310,8 @@ onUnmounted(() => {
310310 />
311311 </div >
312312 <div mt5 >
313- <ChartFramegraph
314- v-if =" chart === 'frame ' && graph"
313+ <ChartFlamegraph
314+ v-if =" chart === 'flamegraph ' && graph"
315315 :graph =" graph"
316316 :selected =" nodeSelected"
317317 @select =" (x: ChartNode | null) => selectNode(x)"
0 commit comments