feat: burg-groups - save settings between sessions

This commit is contained in:
Azgaar 2025-03-15 15:33:42 +01:00
parent 95b7ed9ea4
commit 5ed31dd8bf
4 changed files with 11 additions and 1 deletions

View file

@ -161,7 +161,7 @@ let options = {
stateLabelsMode: "auto",
showBurgPreview: true,
burgs: {
groups: Burgs.getDefaultGroups()
groups: JSON.safeParse(localStorage.getItem("burg-groups")) || Burgs.getDefaultGroups()
}
};