mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
allow users to set coordinate display type (#141)
This commit is contained in:
@@ -106,6 +106,11 @@ export const useUserStore = defineStore('user', () => {
|
||||
return userInfo.currencyDisplayType;
|
||||
});
|
||||
|
||||
const currentUserCoordinateDisplayType = computed<number>(() => {
|
||||
const userInfo = currentUserBasicInfo.value || EMPTY_USER_BASIC_INFO;
|
||||
return userInfo.coordinateDisplayType;
|
||||
});
|
||||
|
||||
const currentUserExpenseAmountColor = computed<number>(() => {
|
||||
const userInfo = currentUserBasicInfo.value || EMPTY_USER_BASIC_INFO;
|
||||
return userInfo.expenseAmountColor;
|
||||
@@ -324,6 +329,7 @@ export const useUserStore = defineStore('user', () => {
|
||||
currentUserDigitGroupingSymbol,
|
||||
currentUserDigitGrouping,
|
||||
currentUserCurrencyDisplayType,
|
||||
currentUserCoordinateDisplayType,
|
||||
currentUserExpenseAmountColor,
|
||||
currentUserIncomeAmountColor,
|
||||
// functions
|
||||
|
||||
Reference in New Issue
Block a user