File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 22
22
:title =" $t('pages.titles.permissionsSettings')"
23
23
/>
24
24
<PanelItem
25
+ v-if =" protocolsInUse.includes(PROTOCOLS.aeternity)"
25
26
:to =" { name: 'notification-settings' }"
26
27
:title =" $t('pages.titles.notifications')"
27
28
/>
@@ -53,8 +54,9 @@ import { IonPage, IonContent } from '@ionic/vue';
53
54
import { computed , defineComponent } from ' vue' ;
54
55
import { useI18n } from ' vue-i18n' ;
55
56
56
- import { IS_MOBILE_APP } from ' @/constants' ;
57
+ import { IS_MOBILE_APP , PROTOCOLS } from ' @/constants' ;
57
58
import {
59
+ useAccounts ,
58
60
useCurrencies ,
59
61
useNetworks ,
60
62
useUi ,
@@ -77,6 +79,7 @@ export default defineComponent({
77
79
},
78
80
setup() {
79
81
const { t } = useI18n ();
82
+ const { protocolsInUse } = useAccounts ();
80
83
const { currentCurrencyInfo } = useCurrencies ();
81
84
const { activeNetwork } = useNetworks ();
82
85
const { saveErrorLog, isBiometricLoginEnabled } = useUi ();
@@ -94,11 +97,13 @@ export default defineComponent({
94
97
95
98
return {
96
99
IS_MOBILE_APP ,
100
+ PROTOCOLS ,
97
101
ROUTE_NETWORK_SETTINGS ,
98
102
ROUTE_PERMISSIONS_SETTINGS ,
99
103
ROUTE_SECURE_LOGIN_SETTINGS ,
100
104
ROUTE_SEED_PHRASE_SETTINGS ,
101
105
activeNetwork ,
106
+ protocolsInUse ,
102
107
saveErrorLog ,
103
108
secureLoginSettingsInfo ,
104
109
isBiometricLoginEnabled ,
You can’t perform that action at this time.
0 commit comments