forked from MapComplete/MapComplete
UX: fix #1932
This commit is contained in:
parent
4b49a08914
commit
7072f2d93d
2 changed files with 14 additions and 11 deletions
|
@ -11,7 +11,7 @@
|
|||
export let configs: ConfigMeta[]
|
||||
export let title: string | undefined = undefined
|
||||
|
||||
export let path: (string | number)[] = []
|
||||
export let path: readonly (string | number)[] = []
|
||||
|
||||
let expertMode = state.expertMode
|
||||
let configsNoHidden = configs.filter((schema) => schema.hints?.group !== "hidden")
|
||||
|
@ -21,9 +21,9 @@
|
|||
</script>
|
||||
|
||||
{#if configs === undefined}
|
||||
Bug: 'Region' received 'undefined'
|
||||
Bug: 'Region' received 'undefined' at {path.join(".")}
|
||||
{:else if configs.length === 0}
|
||||
Bug: Region received empty list as configuration
|
||||
Bug: Region received empty list as configuration at {path.join(".")}
|
||||
{:else if title}
|
||||
<div class="flex w-full flex-col">
|
||||
<h3>{title}</h3>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue