Themes: improve velopark usability

This commit is contained in:
Pieter Vander Vennet 2024-04-27 01:40:06 +02:00
parent e327d385d1
commit c1003f8fe7
2 changed files with 15 additions and 7 deletions

View file

@ -38,13 +38,13 @@
{#if !allCalculatedTags.has(key)}
<tr>
<td>{key}</td>
<td>
<td style="width: 75%">
{#if $tags[key] === undefined}
<i>undefined</i>
{:else if $tags[key] === ""}
<i>Empty string</i>
{:else if typeof $tags[key] === "object"}
<div class="literal-code">{JSON.stringify($tags[key])}</div>
<div class="literal-code" >{JSON.stringify($tags[key])}</div>
{:else}
{$tags[key]}
{/if}