Fix: alltags shows objects as JSON instead as [object Object]

This commit is contained in:
Pieter Vander Vennet 2024-04-27 00:44:49 +02:00
parent 46211e4c2e
commit 1df28ab501

View file

@ -43,6 +43,8 @@
<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>
{:else}
{$tags[key]}
{/if}