fix(ui): finish an Archie turn across tab switches and name map entries in the settings review
This commit is contained in:
1 parent
53db182e97
commit
2ce94306e8
4 files changed
+9
-5
No files matched your search
@@ -34,8 +34,10 @@ function fieldLabel(kind: string, path: string): string {
|
||||
schema = schema.items ?? {};
|
||||
return `Item ${Number(part) + 1}`;
|
||||
}
|
||||
schema = schema.properties?.[part] ?? schema.additionalProperties ?? {};
|
||||
return schema.title || part.replaceAll("_", " ");
|
||||
const named = schema.properties?.[part];
|
||||
schema = named ?? schema.additionalProperties ?? {};
|
||||
// A map entry is named by its key; its schema title names every entry alike.
|
||||
return named ? schema.title || part.replaceAll("_", " ") : part;
|
||||
}).join(" · ");
|
||||
}
|
||||
const sections = computed(() =>
|
||||
|
||||
Reference in new issue
Block a user