mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added origin to beta editor feedback (#17664)
no refs -added origin to beta editor feedback to more easily associate errors
This commit is contained in:
parent
61d53ed7af
commit
a2cb55f0b8
1 changed files with 3 additions and 2 deletions
|
@ -36,14 +36,15 @@ export default class FeedbackLexicalSendButtonComponent extends Component {
|
|||
StaffAccessLevel: this.session.user.role?.description,
|
||||
UserAgent: navigator.userAgent,
|
||||
GhostVersion: this.config.version,
|
||||
KoenigLexicalVersion: window['@tryghost/koenig-lexical'].version,
|
||||
KoenigLexicalVersion: window['@tryghost/koenig-lexical']?.version,
|
||||
Feedback: this.args.feedbackMessage
|
||||
};
|
||||
|
||||
let data = {
|
||||
...ghostData,
|
||||
...postData,
|
||||
Source: source || 'Settings'
|
||||
Source: source || 'Settings',
|
||||
Origin: window.location.origin
|
||||
};
|
||||
|
||||
let response = yield this.ajax.post(url, {data});
|
||||
|
|
Loading…
Add table
Reference in a new issue