Studio: hide informational message, hide irrelevant quesionts for theme

This commit is contained in:
Pieter Vander Vennet 2024-01-22 01:01:38 +01:00
parent 41aee8ec8f
commit 121efd8dfb
3 changed files with 77 additions and 57 deletions

View file

@ -20,6 +20,9 @@
const perRegion: Record<string, ConfigMeta[]> = {}
for (const schemaElement of schema) {
if(schemaElement.path.length > 1 && schemaElement.path[0] === "layers"){
continue
}
const key = schemaElement.hints.group ?? "no-group"
const list = perRegion[key] ?? (perRegion[key] = [])
list.push(schemaElement)