From 169a3fbfc9f3bbe8bf2661ad9d372d7f1e425dc8 Mon Sep 17 00:00:00 2001 From: Angelika Schneider Date: Tue, 18 Jul 2023 10:50:11 +0200 Subject: [PATCH] Fix publix certificates page --- src/lib/CertificateCard.svelte | 1 + src/lib/Navigation.svelte | 5 +++++ src/routes/+layout.ts | 8 +++++++- src/routes/catalogs/[id]/categories/+page.svelte | 1 - src/routes/public/certificates/+page.ts | 2 +- 5 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/lib/CertificateCard.svelte b/src/lib/CertificateCard.svelte index 2f364fe..9cdcb6f 100644 --- a/src/lib/CertificateCard.svelte +++ b/src/lib/CertificateCard.svelte @@ -51,6 +51,7 @@ export let certificate: Certificate; {state.timestamp} + {#if state.state == 'new'} {:else} {state.treeId} diff --git a/src/lib/Navigation.svelte b/src/lib/Navigation.svelte index 0cc0897..e9c7bc1 100644 --- a/src/lib/Navigation.svelte +++ b/src/lib/Navigation.svelte @@ -67,6 +67,8 @@ console.log($page.url); {/each} --> + + {#if loggedIn} Cloud Services @@ -87,12 +89,14 @@ console.log($page.url); Certificates + {/if} {#if !loggedIn} Login {/if} + Help @@ -110,6 +114,7 @@ console.log($page.url); +