fix: change icons for trace types (#512)

This commit is contained in:
Fine0830
2025-11-10 20:22:00 +08:00
committed by GitHub
parent 30927258d6
commit 28c2cbd609
4 changed files with 20 additions and 3 deletions

View File

@@ -293,7 +293,7 @@ limitations under the License. -->
selectedMinTimestamp: props.selectedMinTimestamp,
});
}
tree.value.draw(() => {
tree.value?.draw(() => {
setTimeout(() => {
loading.value = false;
}, 200);

View File

@@ -24,6 +24,6 @@ export enum TraceGraphType {
export const GraphTypeOptions = [
{ value: "List", icon: "list-bulleted", label: "list" },
{ value: "Tree", icon: "issue-child", label: "tree" },
{ value: "Table", icon: "table", label: "table" },
{ value: "Table", icon: "list-tree", label: "table" },
{ value: "Statistics", icon: "statistics-bulleted", label: "statistics" },
] as const;