Skip to content

Commit 93f8df4

Browse files
committed
fix: event emit
1 parent c1f3ce4 commit 93f8df4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

static/components/wallet-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ window.app.component('wallet-config', {
44
delimiters: ['${', '}'],
55

66
props: ['total', 'config-data', 'adminkey'],
7+
emits: ['update:config-data'],
78
data: function () {
89
return {
910
networkOptions: ['Mainnet', 'Testnet'],

templates/watchonly/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="col-12 col-md-7 q-gutter-y-md">
55
<wallet-config
66
:total="utxos.total"
7-
:config-data.sync="config"
7+
v-model:config-data="config"
88
:adminkey="g.user.wallets[0].adminkey"
99
>
1010
<template v-slot:trezor>

0 commit comments

Comments
 (0)