Skip to content

Commit

Permalink
webserver/site: refetch user info after updating a DEX server
Browse files Browse the repository at this point in the history
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
  • Loading branch information
ukane-philemon committed Oct 22, 2024
1 parent 92d27f2 commit e8d05c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/webserver/site/src/js/dexsettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ export default class DexSettingsPage extends BasePage {
} else this.page.toggleAccountStatusBtn.textContent = intl.prep(intl.ID_DISABLE_ACCOUNT)

this.accountDisabled = disable

// Refresh exchange information since we've just enabled/disabled exchange.
await app().fetchUser()
app().loadPage(`dexsettings/${host}`)
}

Expand Down

0 comments on commit e8d05c4

Please sign in to comment.