changes of niazi
This commit is contained in:
@@ -12,7 +12,12 @@ import { message } from 'ant-design-vue'
|
||||
import type { Card } from '@/models/wallet'
|
||||
import { useUserStore } from '@/store/userStore'
|
||||
import { useConfigStore } from '@/store/configStore'
|
||||
import { getProjectBaleContactLink, isBazretalaProject, isBoursecuProject } from '@/utils/config'
|
||||
import {
|
||||
getProjectBaleContactLink,
|
||||
getWalletDepositQuickAmountsRial,
|
||||
isBazretalaProject,
|
||||
isBoursecuProject,
|
||||
} from '@/utils/config'
|
||||
import { useDesktopBreakpoint } from '@/layouts/composables/useAppLayout'
|
||||
import {
|
||||
buildDepositSmsUrl,
|
||||
@@ -54,6 +59,7 @@ export interface WalletPageContext {
|
||||
supportMessengerText: ReturnType<typeof computed<string>>
|
||||
depositGuideSupportLink: ReturnType<typeof computed<string>>
|
||||
depositSmsSupportLink: ReturnType<typeof computed<string>>
|
||||
depositQuickAmounts: ReturnType<typeof computed<readonly number[]>>
|
||||
isBazretalaProject: typeof isBazretalaProject
|
||||
usePriceWithoutType: typeof usePriceWithoutType
|
||||
formatCashWalletBalanceText: typeof formatCashWalletBalanceText
|
||||
@@ -92,6 +98,8 @@ export function useWalletPage() {
|
||||
() => supportMessengerSettings.value.messengerText || DEFAULT_SUPPORT_MESSENGER_TEXT,
|
||||
)
|
||||
|
||||
const depositQuickAmounts = computed(() => getWalletDepositQuickAmountsRial())
|
||||
|
||||
const depositGuideSupportLink = computed(() => {
|
||||
if (config.config?.name === 'garoosi' || isBazretalaProject()) {
|
||||
return getProjectBaleContactLink()
|
||||
@@ -288,6 +296,7 @@ export function useWalletPage() {
|
||||
supportMessengerText,
|
||||
depositGuideSupportLink,
|
||||
depositSmsSupportLink,
|
||||
depositQuickAmounts,
|
||||
isBazretalaProject,
|
||||
usePriceWithoutType,
|
||||
formatCashWalletBalanceText,
|
||||
|
||||
Reference in New Issue
Block a user