diff --git a/.gitignore b/.gitignore index 142db82b5..2966a6d5d 100755 --- a/.gitignore +++ b/.gitignore @@ -255,3 +255,5 @@ articles/* !articles/fallbacks !src/server/env /env.ts + +.generated diff --git a/daisyui.themes.ts b/daisyui.themes.ts index e77753924..a50ed307d 100644 --- a/daisyui.themes.ts +++ b/daisyui.themes.ts @@ -1,7 +1,6 @@ /* eslint-env node */ // import * as convert from 'color-convert' -// @ts-expect-error got nothing import themes from 'daisyui/src/theming/themes' // import type { HSL } from 'color-convert/conversions' diff --git a/src/composables/useDynamicSettings.ts b/src/composables/useDynamicSettings.ts index 7fe5fe31a..6393c3c48 100644 --- a/src/composables/useDynamicSettings.ts +++ b/src/composables/useDynamicSettings.ts @@ -18,6 +18,7 @@ export default async function () { client.save(v) serverData.value = await app.$client.me.dynamicSettings.update.mutate(v) } + return { data, unchanged, diff --git a/src/pages/admin/users/[id].vue b/src/pages/admin/users/[id].vue index d8053813d..5f1be8f38 100644 --- a/src/pages/admin/users/[id].vue +++ b/src/pages/admin/users/[id].vue @@ -15,7 +15,7 @@ function options, TTr extends (key: keyof T, va