Skip to content

Commit

Permalink
fix: close the dashboard dailog when xml is uploaded (#8792)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinu-deriv committed May 29, 2023
1 parent c1159af commit 2dc5301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/bot-web-ui/src/stores/load-modal-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ export default class LoadModalStore implements ILoadModalStore {
load({ block_string: xml_doc, file_name, workspace: Blockly.derivWorkspace, from: save_types.GOOGLE_DRIVE });
const { active_tab } = this.root_store.dashboard;
if (active_tab === 1) this.toggleLoadModal();

this.root_store.dashboard.is_dialog_open = false;
}

onEntered = (): void => {
Expand Down

1 comment on commit 2dc5301

@vercel
Copy link

@vercel vercel bot commented on 2dc5301 May 29, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

deriv-app – ./

deriv-app.vercel.app
binary.sx
deriv-app.binary.sx
deriv-app-git-master.binary.sx

Please sign in to comment.