We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4e68d5 commit e0d64f8Copy full SHA for e0d64f8
torchci/components/HudGroupingSettings/mainPageSettingsUtils.ts
@@ -1,3 +1,5 @@
1
+import { getDefaultGroupSettings } from "./defaults";
2
+
3
export type Group = {
4
name: string;
5
regex: RegExp;
@@ -22,7 +24,7 @@ export function getStoredTreeData(): Group[] {
22
24
// Try to load saved tree data from localStorage
23
25
const stored = localStorage.getItem("hud_group_settings");
26
- if (!stored) return [];
27
+ if (!stored) return getDefaultGroupSettings();
28
29
const parsed = JSON.parse(stored);
30
0 commit comments