show currency code in currency select
This commit is contained in:
@@ -9,7 +9,6 @@ import { useOverviewStore } from '@/stores/overview.ts';
|
||||
import type { TypeAndDisplayName } from '@/core/base.ts';
|
||||
import { WeekDay } from '@/core/datetime.ts';
|
||||
import type { LocalizedDigitGroupingType } from '@/core/numeral.ts';
|
||||
import type { LocalizedCurrencyInfo } from '@/core/currency.ts';
|
||||
|
||||
import { type UserBasicInfo, User } from '@/models/user.ts';
|
||||
import { type CategorizedAccount, Account} from '@/models/account.ts';
|
||||
@@ -22,7 +21,6 @@ export function useUserProfilePageBase() {
|
||||
tt,
|
||||
getDefaultCurrency,
|
||||
getDefaultFirstDayOfWeek,
|
||||
getAllCurrencies,
|
||||
getAllWeekDays,
|
||||
getAllLongDateFormats,
|
||||
getAllShortDateFormats,
|
||||
@@ -53,7 +51,6 @@ export function useUserProfilePageBase() {
|
||||
const resending = ref<boolean>(false);
|
||||
const saving = ref<boolean>(false);
|
||||
|
||||
const allCurrencies = computed<LocalizedCurrencyInfo[]>(() => getAllCurrencies());
|
||||
const allAccounts = computed<Account[]>(() => accountsStore.allPlainAccounts);
|
||||
const allVisibleAccounts = computed<Account[]>(() => accountsStore.allVisiblePlainAccounts);
|
||||
const allVisibleCategorizedAccounts = computed<CategorizedAccount[]>(() => getCategorizedAccounts(allVisibleAccounts.value));
|
||||
@@ -186,7 +183,6 @@ export function useUserProfilePageBase() {
|
||||
resending,
|
||||
saving,
|
||||
// computed states
|
||||
allCurrencies,
|
||||
allAccounts,
|
||||
allVisibleAccounts,
|
||||
allVisibleCategorizedAccounts,
|
||||
|
||||
Reference in New Issue
Block a user