Skip to content

Commit

Permalink
Merge pull request #2384 from torusresearch/develop
Browse files Browse the repository at this point in the history
Release v4.1.3
  • Loading branch information
chaitanyapotti committed Jan 25, 2024
2 parents ab1fd0d + d1c7385 commit f93d727
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/containers/Popup/PopupWidget/PopupWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
fab
title="Open Transfer Page"
aria-label="Open Transfer Page"
:disabled="isPlugin()"
@click="showWalletPopup({ path: '/transfer' })"
>
<v-icon size="20">$vuetify.icons.send</v-icon>
Expand All @@ -64,7 +65,8 @@
small
class="ml-2 torus-btn1 torusBrand1--text"
title="Open Topup Page"
aria-label="Open Topupu Page"
aria-label="Open Topup Page"
:disabled="isPlugin()"
@click="showWalletPopup({ path: '/topup' })"
>
<v-icon>$vuetify.icons.add</v-icon>
Expand All @@ -76,7 +78,7 @@
<span class="network-name ml-1">{{ networkType.networkName || networkType.host }}</span>
</div>
<div class="torus-widget__transaction-details mt-5">
<div class="d-flex">
<div v-if="!isPlugin()" class="d-flex">
<span class="caption text_2--text">{{ t('dappPopup.recentActivity') }}</span>
<span class="caption primary--text ml-auto wallet-open" @click="showWalletPopup({ path: '/home' })">
{{ t('dappPopup.openWallet') }}
Expand Down Expand Up @@ -322,6 +324,9 @@ export default {
toggleWidgetVisibility: 'toggleWidgetVisibility',
showWalletPopup: 'showWalletPopup',
}),
isPlugin() {
return config.isPlugin
},
login() {
this.$emit('onLogin')
},
Expand Down

0 comments on commit f93d727

Please sign in to comment.