refac
This commit is contained in:
parent
807c34b40c
commit
22d53be3a5
|
|
@ -4,7 +4,7 @@
|
||||||
import { getLanguages, changeLanguage } from '$lib/i18n';
|
import { getLanguages, changeLanguage } from '$lib/i18n';
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
import { models, settings, theme, user } from '$lib/stores';
|
import { config, models, settings, theme, user } from '$lib/stores';
|
||||||
|
|
||||||
const i18n = getContext('i18n');
|
const i18n = getContext('i18n');
|
||||||
|
|
||||||
|
|
@ -233,7 +233,7 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{#if $i18n.language === 'en-US'}
|
{#if $i18n.language === 'en-US' && !($config?.license_metadata ?? false)}
|
||||||
<div class="mb-2 text-xs text-gray-400 dark:text-gray-500">
|
<div class="mb-2 text-xs text-gray-400 dark:text-gray-500">
|
||||||
Couldn't find your language?
|
Couldn't find your language?
|
||||||
<a
|
<a
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue