Skip to content

Commit

Permalink
Revert "Mikita / fixed issue according to reboot au account (#3320)" (#…
Browse files Browse the repository at this point in the history
…3647)

This reverts commit 7eb0d57.
  • Loading branch information
matin-deriv authored Jul 23, 2021
1 parent d0e86a9 commit e082afc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/bot-web-ui/src/app/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ const App = ({ passthrough }) => {

ApiHelpers.setInstance(app.api_helpers_store);
const { active_symbols } = ApiHelpers.instance;

setIsLoading(true);
active_symbols.retrieveActiveSymbols(true).then(async () => {
await app.root_store.ws.wait('landing_company', 'get_settings');
active_symbols.retrieveActiveSymbols(true).then(() => {
setIsLoading(false);
onMount();
});
Expand Down
4 changes: 1 addition & 3 deletions packages/core/src/Stores/client-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,9 +681,7 @@ export default class ClientStore extends BaseStore {

@computed
get is_options_blocked() {
return this.is_logged_in
? isOptionsBlocked(this.residence)
: isOptionsBlocked(this.website_status.clients_country);
return isOptionsBlocked(this.residence);
}

/**
Expand Down

1 comment on commit e082afc

@vercel
Copy link

@vercel vercel bot commented on e082afc Jul 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.