{#await getData()}
{:then quizzes}
{$t('words.create')}
{$t('words.import')}
{$t('words.logout')}
{$t('words.settings')}
{#if quizzes.length !== 0} {#await import('$lib/dashboard/main_slider.svelte')}
{:then c}
{ search_term = ''; quizzes_to_show = quizzes; suggestions = []; }} >
{#if quizzes_to_show.length === 0 && suggestions.length !== 0}
{#each suggestions as res}
{ suggestions = []; search_term = res.suggestion; }}>{res.suggestion}
{/each}
{/if}
{/await} {:else}
{$t('overview_page.no_quizzes')}
{/if}
{:catch err}
{err}
{/await}