Compare commits

..

No commits in common. "v0.0.2" and "v0.0.1" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View file

@ -181,13 +181,13 @@ window.app = Vue.createApp({
this.lamassuConfig = data
// When opening config dialog, populate the selected wallets if they exist
if (data && data.source_wallet_id && this.g.user?.wallets) {
if (data && data.source_wallet_id) {
const wallet = this.g.user.wallets.find(w => w.id === data.source_wallet_id)
if (wallet) {
this.configDialog.data.selectedWallet = wallet
}
}
if (data && data.commission_wallet_id && this.g.user?.wallets) {
if (data && data.commission_wallet_id) {
const commissionWallet = this.g.user.wallets.find(w => w.id === data.commission_wallet_id)
if (commissionWallet) {
this.configDialog.data.selectedCommissionWallet = commissionWallet

View file

@ -547,17 +547,17 @@
<q-select
filled
dense
:options="g.user?.wallets || []"
:options="g.user.wallets"
v-model="configDialog.data.selectedWallet"
label="Source Wallet for DCA Distributions *"
option-label="name"
hint="Wallet that holds Bitcoin for distribution to DCA clients"
></q-select>
<q-select
filled
dense
:options="g.user?.wallets || []"
:options="g.user.wallets"
v-model="configDialog.data.selectedCommissionWallet"
label="Commission Wallet (Optional)"
option-label="name"