UX: don't show tags in comparisonTable if readonly

This commit is contained in:
Pieter Vander Vennet 2024-04-13 01:56:36 +02:00
parent e6767d5651
commit aead263aa9

View file

@ -77,7 +77,7 @@
{/if} {/if}
</div> </div>
{#if $isTesting || $isDebug || $showTags === "yes" || $showTags === "always" || $showTags === "full"} {#if !readonly && ( $isTesting || $isDebug || $showTags === "yes" || $showTags === "always" || $showTags === "full")}
<div class="subtle text-sm"> <div class="subtle text-sm">
{#if $tags[key] !== undefined} {#if $tags[key] !== undefined}
<span> <span>