Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions client/webserver/site/src/js/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1224,8 +1224,8 @@ export default class WalletsPage extends BasePage {
const tokenDisabled = w && w.disabled
if (disabled || tokenDisabled) {
// Target the token wallet if it's the one that's disabled,
// otherwise the parent.
if (tokenDisabled && !disabled) this.selectedWalletID = assetID
// otherwise the parent chain.
this.selectedWalletID = (tokenDisabled && !disabled) ? assetID : configAssetID
Doc.show(page.actEnable)
} else {
if (hasWallet) Doc.show(page.actTxHistory)
Expand Down Expand Up @@ -2264,6 +2264,7 @@ export default class WalletsPage extends BasePage {

/* Show the form used to change wallet configuration settings. */
async showReconfig (assetID: number, cfg?: reconfigSettings) {
this.selectedWalletID = assetID
const page = this.page
Doc.hide(
page.changeWalletType, page.changeTypeHideIcon, page.reconfigErr,
Expand Down
Loading