Skip to content

Commit

Permalink
fix: show private key only if wallet knows it
Browse files Browse the repository at this point in the history
  • Loading branch information
CedrikNikita committed Feb 18, 2025
1 parent 129d24f commit e42888b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/popup/components/AccountDetailsBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
:protocol="activeAccount.protocol"
/>
<BtnBox
v-if="(
activeAccount.type !== ACCOUNT_TYPES.airGap
&& activeAccount.type !== ACCOUNT_TYPES.ledger
)"
:text="$t('common.key')"
:icon="PrivateKeyIcon"
data-cy="export-private-key"
Expand Down Expand Up @@ -96,6 +100,7 @@ import {
} from 'vue';
import { useRoute } from 'vue-router';
import {
ACCOUNT_TYPES,
IS_MOBILE_APP,
IS_FIREFOX,
MODAL_PRIVATE_KEY_EXPORT,
Expand Down Expand Up @@ -218,6 +223,7 @@ export default defineComponent({
close,
fadeAnimation,
exportPrivateKey,
ACCOUNT_TYPES,
IS_FIREFOX,
INITIAL_TABS_HEIGHT,
PROTOCOLS,
Expand Down

0 comments on commit e42888b

Please sign in to comment.