Skip to content

Commit

Permalink
Show markets menu entry when no dex is configured (#2618)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzen authored Dec 18, 2023
1 parent 2f6cae0 commit 5149e84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/webserver/site/src/js/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,7 @@ export default class Application {
return
}
page.profileBox.classList.add('authed')
Doc.show(page.noteBell, page.walletsMenuEntry)
Doc.setVis(Object.keys(user.exchanges).length > 0, page.marketsMenuEntry)
Doc.show(page.noteBell, page.walletsMenuEntry, page.marketsMenuEntry)
}

/* attachCommon scans the provided node and handles some common bindings. */
Expand Down

0 comments on commit 5149e84

Please sign in to comment.