change condition of display banner
This commit is contained in:
@@ -96,14 +96,14 @@
|
||||
<div class="text-xs mt-1 font-bold">کیف پول</div>
|
||||
</div>
|
||||
<div
|
||||
:class="navItemClass('user')"
|
||||
:class="navItemClass(userNavItem.routeName)"
|
||||
class="tab"
|
||||
@click="$emit('navigate', 'user')"
|
||||
@click="$emit('navigate', userNavItem.routeName)"
|
||||
>
|
||||
<div class="tab__icon">
|
||||
<Icon icon="vuesax-linear:setting-2" size="24" />
|
||||
<Icon :icon="userNavItem.icon" size="24" />
|
||||
</div>
|
||||
<div class="text-xs mt-1 font-bold">تنظیمات</div>
|
||||
<div class="text-xs mt-1 font-bold">{{ userNavItem.label }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -129,6 +129,11 @@ defineEmits<{
|
||||
}>()
|
||||
|
||||
const projectName = getConfigApp('name')
|
||||
const userNavItem = computed(() =>
|
||||
projectName === 'abshodehrahimi'
|
||||
? { routeName: 'notifyTrigger', label: 'هشدار قیمت', icon: 'vuesax-linear:bill' }
|
||||
: { routeName: 'user', label: 'تنظیمات', icon: 'vuesax-linear:setting-2' },
|
||||
)
|
||||
const boursecuBuySellIcon = getBoursecuActionIconSrc('buySell') ?? ''
|
||||
const boursecuTransactionsIcon = getBoursecuActionIconSrc('transactions') ?? ''
|
||||
const boursecuWalletIcon = getBoursecuActionIconSrc('wallet') ?? ''
|
||||
|
||||
Reference in New Issue
Block a user