Skip to content

Commit 6c2992d

Browse files
authored
Merge pull request #832 from liquality/fix-permission-sign-view
fix: fixed permission sign views + ledger
2 parents 4304dc1 + e9b7755 commit 6c2992d

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.yarn/install-state.gz

-2.63 MB
Binary file not shown.

src/views/Accounts/HardwareWallet/HardwareWallet.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ export default {
193193
})
194194
195195
const selectedAccounts = { ...this.selectedAccounts }
196-
debugger
197196
for (const key in selectedAccounts) {
198197
const item = selectedAccounts[key]
199198
const { publicKey, chainCode, derivationPath } = item

src/views/PermissionSign.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</template>
4545

4646
<script>
47-
import { mapState, mapActions } from 'vuex'
47+
import { mapState, mapActions, mapGetters } from 'vuex'
4848
import { getAssetColorStyle } from '@liquality/wallet-core/dist/utils/asset'
4949
import { getAssetIcon } from '@/utils/asset'
5050
import { shortenAddress } from '@liquality/wallet-core/dist/utils/address'
@@ -87,7 +87,8 @@ export default {
8787
loading: false,
8888
replied: false,
8989
messageToDisplay: '',
90-
messageToSign: ''
90+
messageToSign: '',
91+
signRequestModalOpen: false
9192
}
9293
},
9394
methods: {
@@ -126,7 +127,8 @@ export default {
126127
}
127128
},
128129
computed: {
129-
...mapState(['activeNetwork', 'activeWalletId', 'accountItem']),
130+
...mapState(['activeNetwork', 'activeWalletId']),
131+
...mapGetters(['accountItem']),
130132
logo() {
131133
return LogoWallet
132134
},

src/views/PermissionSignPsbt.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ export default {
113113
}
114114
},
115115
computed: {
116-
...mapGetters(['client']),
117-
...mapState(['activeNetwork', 'activeWalletId', 'accountItem']),
116+
...mapGetters(['client', 'accountItem']),
117+
...mapState(['activeNetwork', 'activeWalletId']),
118118
logo() {
119119
return LogoWallet
120120
},

0 commit comments

Comments
 (0)