Skip to content

Commit

Permalink
web-wallet: Disable source wallet option on migration initialization
Browse files Browse the repository at this point in the history
Resolves #3270
  • Loading branch information
nortonandreev committed Dec 22, 2024
1 parent c69ac7b commit db93ba2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions web-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Update Transactions list design [#1922]
- Prioritize Public Account in the interface and transaction flows [#3259]
- Disable source wallet option on migration initialization (Migrate flow) [#3270]

### Removed

Expand Down Expand Up @@ -480,6 +481,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#3245]: https://github.com/dusk-network/rusk/issues/3245
[#3259]: https://github.com/dusk-network/rusk/issues/3259
[#3265]: https://github.com/dusk-network/rusk/issues/3265
[#3270]: https://github.com/dusk-network/rusk/issues/3270

<!-- VERSIONS -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@
const { ["ERC-20"]: erc20, ["BEP-20"]: bep20 } = tokens[network];
const options = ["ERC-20", "BEP-20"];
$: options = [
{ label: "ERC-20", value: "ERC-20", disabled: isInputDisabled },

Check failure on line 63 in web-wallet/src/lib/containers/MigrateContract/MigrateContract.svelte

View workflow job for this annotation

GitHub Actions / Node 20.x

Expected object keys to be in natural insensitive ascending order. 'disabled' should be before 'value'
{ label: "BEP-20", value: "BEP-20", disabled: isInputDisabled },

Check failure on line 64 in web-wallet/src/lib/containers/MigrateContract/MigrateContract.svelte

View workflow job for this annotation

GitHub Actions / Node 20.x

Expected object keys to be in natural insensitive ascending order. 'disabled' should be before 'value'
];
// The minimum allowed amount to be migrated expressed as a string
const minAmount = "0.000000001";
Expand Down

0 comments on commit db93ba2

Please sign in to comment.