forked from MapComplete/MapComplete
Fix: fix crash when loading LanguagePicker.svelte
This commit is contained in:
parent
a440a3042e
commit
0c1f9e8cca
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@
|
||||||
{#if language !== $current}
|
{#if language !== $current}
|
||||||
({language_translations[language]?.[$current] ?? language})
|
({language_translations[language]?.[$current] ?? language})
|
||||||
{/if}
|
{/if}
|
||||||
{#if $preferredLanguages.indexOf(language) >= 0}
|
{#if $preferredLanguages?.indexOf(language) >= 0}
|
||||||
⭐
|
⭐
|
||||||
{/if}
|
{/if}
|
||||||
</option>
|
</option>
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
({language})
|
({language})
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{#if $preferredLanguages.indexOf(language) >= 0}
|
{#if $preferredLanguages?.indexOf(language) >= 0}
|
||||||
⭐
|
⭐
|
||||||
{/if}
|
{/if}
|
||||||
</option>
|
</option>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue