Skip to content

Commit

Permalink
v7.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Jun 7, 2022
1 parent dd14aba commit 052768f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gleap",
"version": "7.0.13",
"version": "7.0.14",
"main": "build/index.js",
"scripts": {
"start": "webpack serve",
Expand Down
1 change: 1 addition & 0 deletions published/7.0.14/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion published/latest/index.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/Gleap.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class Gleap {
* @param {*} value
*/
static preFillForm(data) {
GleapPreFillManager.getInstance().formPreFill = data;
GleapPreFillManager.getInstance().formPreFill = gleapDataParser(data);
GleapFrameManager.getInstance().sendFormPreFillData();
}

Expand Down Expand Up @@ -355,6 +355,7 @@ class Gleap {
attachments: true,
}
) {
const excludeDataCleaned = excludeData ? gleapDataParser(excludeData) : {};
const sessionInstance = GleapSession.getInstance();
if (!sessionInstance.ready) {
return;
Expand All @@ -365,7 +366,7 @@ class Gleap {
newFormData.reportedBy = sessionInstance.session.email;
}

const feedback = new GleapFeedback("CRASH", priority, newFormData, true, excludeData ? excludeData : {});
const feedback = new GleapFeedback("CRASH", priority, newFormData, true, excludeDataCleaned);
feedback.sendFeedback().then(() => { }).catch((error) => { });
}

Expand Down

0 comments on commit 052768f

Please sign in to comment.