Fix alltags panel
This commit is contained in:
parent
729d6b974f
commit
d3dc81d1c2
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
||||||
*/
|
*/
|
||||||
let calculatedTags: string[] = []
|
let calculatedTags: string[] = []
|
||||||
for (const calculated of layer?.calculatedTags ?? []) {
|
for (const calculated of layer?.calculatedTags ?? []) {
|
||||||
if (calculated) {
|
if (!calculated) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
const name = calculated[0]
|
const name = calculated[0]
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
{:else if $tags[key] === ""}
|
{:else if $tags[key] === ""}
|
||||||
<i>Empty string</i>
|
<i>Empty string</i>
|
||||||
{:else if $tags[key] !== "string"}
|
{:else if $tags[key] !== "string"}
|
||||||
<span class="literal-code">{$tags[key]}</span>
|
<span class="literal-code">{JSON.stringify($tags[key])}</span>
|
||||||
<i>{typeof $tags[key]}</i>
|
<i>{typeof $tags[key]}</i>
|
||||||
{:else}
|
{:else}
|
||||||
{$tags[key]}
|
{$tags[key]}
|
||||||
|
|
Loading…
Reference in a new issue