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
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 20m44s
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user