From 8514ed148a767abe3c00f0c494b06253612e0aea Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 23 Oct 2024 00:38:59 -0700 Subject: [PATCH] refac: show changelog behaviour --- src/lib/components/ChangelogModal.svelte | 7 +++++-- src/routes/(app)/+layout.svelte | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/components/ChangelogModal.svelte b/src/lib/components/ChangelogModal.svelte index 6a24ea5d9..9002b9100 100644 --- a/src/lib/components/ChangelogModal.svelte +++ b/src/lib/components/ChangelogModal.svelte @@ -2,12 +2,13 @@ import { onMount, getContext } from 'svelte'; import { Confetti } from 'svelte-confetti'; - import { WEBUI_NAME, config } from '$lib/stores'; + import { WEBUI_NAME, config, settings } from '$lib/stores'; import { WEBUI_VERSION } from '$lib/constants'; import { getChangelog } from '$lib/apis'; import Modal from './common/Modal.svelte'; + import { updateUserSettings } from '$lib/apis/users'; const i18n = getContext('i18n'); @@ -104,8 +105,10 @@