hotfix(1.4.2): admin empty + legacy symbol migration
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 20m44s

This commit is contained in:
Pepe Ziberi
2026-05-20 23:06:25 +02:00
parent 07cede68c0
commit c8a94e1ea7
4 changed files with 67 additions and 3 deletions

View File

@@ -121,8 +121,10 @@ export function SymbolManager() {
}
if (symRes.ok) {
const s = await symRes.json()
setSymbolGroups(s.groups || [])
setFlatSymbols(s.symbols || [])
setSymbolGroups(s.categories || [])
// Flatten all symbols from categories for ungrouped / category-management views
const all = (s.categories || []).flatMap((c: any) => c.symbols || [])
setFlatSymbols(all)
}
if (tplRes.ok) {
const t = await tplRes.json()