Skip to content

Commit

Permalink
webserver/site: refetch user info after updating a DEX server (#3037)
Browse files Browse the repository at this point in the history
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
  • Loading branch information
ukane-philemon authored Oct 23, 2024
1 parent 92d27f2 commit 0dfaf4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 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,10 @@ 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 the
// exchange.
await app().fetchUser()
app().loadPage(`dexsettings/${host}`)
}

Expand Down

0 comments on commit 0dfaf4c

Please sign in to comment.