main #2

Merged
tdpeuter merged 129 commits from open-webui/open-webui:main into main 2024-03-20 21:29:12 +01:00
2 changed files with 1 additions and 4 deletions
Showing only changes of commit 8f8a68e002 - Show all commits

View file

@ -16,8 +16,6 @@
// General
let themes = ['dark', 'light', 'rose-pine dark', 'rose-pine-dawn light'];
let selectedTheme = 'system';
let actualTheme: string;
$: actualTheme = $theme;
let languages = [];
let lang = $i18n.language;
@ -72,7 +70,6 @@
onMount(async () => {
selectedTheme = localStorage.getItem('theme') ?? 'system';
applyTheme(selectedTheme);
let settings = JSON.parse(localStorage.getItem('settings') ?? '{}');
languages = await getLanguages();

View file

@ -1,5 +1,5 @@
import { APP_NAME } from '$lib/constants';
import { writable, derived } from 'svelte/store';
import { writable } from 'svelte/store';
// Backend
export const WEBUI_NAME = writable(APP_NAME);