Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
Fixed wallet removal button error in farm management
Browse files Browse the repository at this point in the history
Wallet remove button was always removing last wallet not the selected wallet
  • Loading branch information
AhmedSa-mir committed May 10, 2020
1 parent fa5fbc2 commit 72f77c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ module.exports = new Promise(async (resolve, reject) => {
farm.wallet_addresses.push({ 'asset': 'TFT', address: '' })
},
removeWallet(farm, i) {
farm.wallet_addresses.pop(i)
farm.wallet_addresses.splice(i, 1)
},
cancelEditFarm() {
this.settingsDialog = false;
Expand Down

0 comments on commit 72f77c4

Please sign in to comment.