mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Fix reporting of errors to HelpScout using "Report a problem" link.
Summary: Error notifications include a "Report a problem" link, but the inclusion of error message and stack trace was broken. Test Plan: Tested manually and added a test case. Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D2911
This commit is contained in:
@@ -32,7 +32,7 @@ function buildAction(action: NotifyAction, item: Notification, options: IBeaconO
|
||||
{href: urlState().makeUrl({billing: 'billing'})});
|
||||
|
||||
case 'report-problem':
|
||||
return cssToastAction('Report a problem',
|
||||
return cssToastAction('Report a problem', testId('toast-report-problem'),
|
||||
dom.on('click', () => beaconOpenMessage({...options, includeAppErrors: true})));
|
||||
|
||||
case 'ask-for-help': {
|
||||
|
||||
Reference in New Issue
Block a user