diff --git a/lib/jagfx/configuration/user-preference/loader.ts b/lib/jagfx/configuration/user-preference/loader.ts index c27309e..368797b 100644 --- a/lib/jagfx/configuration/user-preference/loader.ts +++ b/lib/jagfx/configuration/user-preference/loader.ts @@ -1,8 +1,6 @@ import userPreferenceDev from './user-preference.dev.json'; import { UserPreferenceCollection } from './user-preference.type'; -// TODO: Add unit test - export const getUserPreferences = (useFakeData = false) => { if (useFakeData) { return new Promise((resolve) => { diff --git a/src/jagfx/components/menu/user-preference-tab/item/UserPreferenceListItemSelect.vue b/src/jagfx/components/menu/user-preference-tab/item/UserPreferenceListItemSelect.vue index 644c967..0f669c2 100644 --- a/src/jagfx/components/menu/user-preference-tab/item/UserPreferenceListItemSelect.vue +++ b/src/jagfx/components/menu/user-preference-tab/item/UserPreferenceListItemSelect.vue @@ -9,7 +9,7 @@ : currentUserPreference().value " @input=" - (value) => update(props.preferenceEntryId, value === '' ? null : value) + (event) => update(props.preferenceEntryId, event.target.value === '' ? null : event.target.value) " >