ui: Don't change page title if challenge info are not loaded
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-05-27 20:26:38 +02:00
parent 5d25024481
commit 48895af3e8

View File

@ -145,8 +145,10 @@
</script>
<svelte:head>
<title>{$challengeInfo.title}</title>
<meta name="author" content="{$challengeInfo.authors}">
{#if $challengeInfo}
<title>{$challengeInfo.title}</title>
<meta name="author" content="{$challengeInfo.authors}">
{/if}
</svelte:head>
<!--Styles /-->