Skip to content

Commit e0d64f8

Browse files
committed
tc
1 parent a4e68d5 commit e0d64f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

torchci/components/HudGroupingSettings/mainPageSettingsUtils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { getDefaultGroupSettings } from "./defaults";
2+
13
export type Group = {
24
name: string;
35
regex: RegExp;
@@ -22,7 +24,7 @@ export function getStoredTreeData(): Group[] {
2224
// Try to load saved tree data from localStorage
2325
const stored = localStorage.getItem("hud_group_settings");
2426

25-
if (!stored) return [];
27+
if (!stored) return getDefaultGroupSettings();
2628

2729
const parsed = JSON.parse(stored);
2830

0 commit comments

Comments
 (0)