We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d2c0cc commit 5de08f8Copy full SHA for 5de08f8
src/dashboard/Data/Browser/Browser.react.js
@@ -1379,10 +1379,8 @@ class Browser extends DashboardView {
1379
this.setState(prevState => ({
1380
processedScripts: prevState.processedScripts + 1,
1381
}));
1382
- this.showNote(
1383
- response ||
1384
- `Ran script "${script.title}" on "${this.props.className}" object "${object.id}".`
1385
- );
+ const note = (typeof response === 'object' ? JSON.stringify(response) : response) || `Ran script "${script.title}" on "${object.id}".`;
+ this.showNote(note);
1386
}
1387
this.refresh();
1388
} catch (e) {
0 commit comments