Skip to content

Commit 54a015d

Browse files
committed
v12.1.3
1 parent 2ed3011 commit 54a015d

File tree

6 files changed

+3
-37
lines changed

6 files changed

+3
-37
lines changed

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/12.1.3/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/latest/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GleapAdminManager.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export default class GleapAdminManager {
3333

3434
loadAdminScript() {
3535
var self = this;
36-
console.log("LOAD SCRIPT!");
3736
this.loadScript('https://jsadminhelper.gleap.io/index.js', function () {
3837
if (window.GleapHelper) {
3938
self.libraryInstance = new window.GleapHelper.default();

src/GleapConfigManager.js

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ export default class GleapConfigManager {
3939
return this.flowConfig;
4040
}
4141

42-
/**
43-
* Returns the loaded project actions.
44-
* @returns
45-
*/
46-
getProjectActions() {
47-
return this.projectActions;
48-
}
49-
5042
/**
5143
* Load config.
5244
* @returns {string}
@@ -130,10 +122,7 @@ export default class GleapConfigManager {
130122
applyConfig(config) {
131123
try {
132124
const flowConfig = config.flowConfig;
133-
const projectActions = config.projectActions;
134-
135125
this.flowConfig = flowConfig;
136-
this.projectActions = projectActions;
137126

138127
// Update styles.
139128
this.applyStylesFromConfig();
@@ -170,25 +159,4 @@ export default class GleapConfigManager {
170159
this.notifyConfigLoaded();
171160
} catch (e) { }
172161
}
173-
174-
getFeedbackOptions(feedbackFlow) {
175-
var feedbackOptions = null;
176-
177-
// Try to load the specific feedback flow.
178-
if (feedbackFlow) {
179-
feedbackOptions = this.projectActions[feedbackFlow];
180-
}
181-
182-
// Fallback
183-
if (!feedbackOptions) {
184-
feedbackOptions = this.projectActions.bugreporting;
185-
}
186-
187-
// Deep copy to prevent changes.
188-
try {
189-
feedbackOptions = JSON.parse(JSON.stringify(feedbackOptions));
190-
} catch (e) { }
191-
192-
return feedbackOptions;
193-
}
194162
}

src/GleapFrameManager.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ export default class GleapFrameManager {
407407
name: "config-update",
408408
data: {
409409
config: GleapConfigManager.getInstance().getFlowConfig(),
410-
actions: GleapConfigManager.getInstance().getProjectActions(),
411410
overrideLanguage:
412411
GleapTranslationManager.getInstance().getOverrideLanguage(),
413412
},

0 commit comments

Comments
 (0)