Skip to content

Commit

Permalink
fix: display correct tlpstyles
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Junk committed May 15, 2024
1 parent 5596722 commit 6a7ae3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/singleview/general/General.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
$: if (tlp?.label === TLP.WHITE) {
tlpStyle = "tlpclear";
} else if (tlp?.label === TLP.RED) {
tlpStyle = "tlred";
tlpStyle = "tlpred";
} else if (tlp?.label === TLP.AMBER) {
tlpStyle = "tlamber";
tlpStyle = "tlpamber";
} else if (tlp?.label === TLP.GREEN) {
tlpStyle = "tlgreen";
tlpStyle = "tlpgreen";
}
$: id = $appStore.doc?.id;
$: published = $appStore.doc?.published;
Expand Down Expand Up @@ -90,7 +90,7 @@
{#if tlp?.url}
<tr>
<td class="key">TLP URL</td>
<td class="value"><SafeLink url={tlpurl}/></td>
<td class="value"><SafeLink url={tlpurl} /></td>
</tr>
{/if}
<tr>
Expand Down

0 comments on commit 6a7ae3b

Please sign in to comment.