diff --git a/src/dashboard/Data/Browser/Browser.react.js b/src/dashboard/Data/Browser/Browser.react.js index c524607f01..5488e8b0e7 100644 --- a/src/dashboard/Data/Browser/Browser.react.js +++ b/src/dashboard/Data/Browser/Browser.react.js @@ -1721,7 +1721,10 @@ class Browser extends DashboardView { totalErrorCount > 0 ); } - this.refresh(); + this.setState( + { selection: {}, showExecuteScriptRowsDialog: false }, + () => this.refresh() + ); } catch (e) { this.showNote(e.message, true); console.log(`Could not run ${script.title}: ${e}`);