diff --git a/qa/ui/src/lib/components/Header.svelte b/qa/ui/src/lib/components/Header.svelte
index 71edf193..9cf2068b 100644
--- a/qa/ui/src/lib/components/Header.svelte
+++ b/qa/ui/src/lib/components/Header.svelte
@@ -23,6 +23,7 @@
} from '@sveltestrap/sveltestrap';
import { auth, gitlab, version } from '$lib/stores/auth';
+ import { themes } from '$lib/stores/themes';
export let activemenu = "";
$: {
@@ -50,6 +51,7 @@
Accueil
+ {#if $themes.length}
Scénarios
+ {/if}
new Theme(t));
+ const data = await res.json();
+ if (data) {
+ return data.map((t) => new Theme(t));
+ } else {
+ return [];
+ }
} else {
throw new Error((await res.json()).errmsg);
}