From 8750cc01ccde27393a407d948bb695da0c4a6e41 Mon Sep 17 00:00:00 2001
From: Pedro Silva
Date: Mon, 16 Oct 2023 09:59:17 +0100
Subject: [PATCH] Commented console logs in DisplayManager
---
.../resources/js/common/display-manager/DisplayManager.js | 4 ++--
.../resources/js/common/display-manager/Rule.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/ppcp-wc-gateway/resources/js/common/display-manager/DisplayManager.js b/modules/ppcp-wc-gateway/resources/js/common/display-manager/DisplayManager.js
index 522238686..2aede73ee 100644
--- a/modules/ppcp-wc-gateway/resources/js/common/display-manager/DisplayManager.js
+++ b/modules/ppcp-wc-gateway/resources/js/common/display-manager/DisplayManager.js
@@ -14,11 +14,11 @@ class DisplayManager {
addRule(ruleConfig) {
const updateStatus = () => {
this.ruleStatus[ruleConfig.key] = this.rules[ruleConfig.key].status;
- console.log('ruleStatus', this.ruleStatus);
+ //console.log('ruleStatus', this.ruleStatus);
}
this.rules[ruleConfig.key] = new Rule(ruleConfig, updateStatus.bind(this));
- console.log('Rule', this.rules[ruleConfig.key]);
+ //console.log('Rule', this.rules[ruleConfig.key]);
}
register() {
diff --git a/modules/ppcp-wc-gateway/resources/js/common/display-manager/Rule.js b/modules/ppcp-wc-gateway/resources/js/common/display-manager/Rule.js
index 75e88f141..20581b025 100644
--- a/modules/ppcp-wc-gateway/resources/js/common/display-manager/Rule.js
+++ b/modules/ppcp-wc-gateway/resources/js/common/display-manager/Rule.js
@@ -15,14 +15,14 @@ class Rule {
const condition = ConditionFactory.make(conditionConfig, updateStatus);
this.conditions[condition.key] = condition;
- console.log('Condition', condition);
+ //console.log('Condition', condition);
}
for (const actionConfig of this.config.actions) {
const action = ActionFactory.make(actionConfig);
this.actions[action.key] = action;
- console.log('Action', action);
+ //console.log('Action', action);
}
}