problems: remove debug logging
This commit is contained in:
@@ -35,7 +35,6 @@ export default class AlertCard extends PureComponent<AlertCardProps, AlertCardSt
|
|||||||
|
|
||||||
ackProblem = (data: AckProblemData) => {
|
ackProblem = (data: AckProblemData) => {
|
||||||
const problem = this.props.problem;
|
const problem = this.props.problem;
|
||||||
console.log('acknowledge: ', problem.lastEvent && problem.lastEvent.eventid, data);
|
|
||||||
return this.props.onProblemAck(problem, data).then(result => {
|
return this.props.onProblemAck(problem, data).then(result => {
|
||||||
this.closeAckDialog();
|
this.closeAckDialog();
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ export default class ProblemDetails extends PureComponent<ProblemDetailsProps, P
|
|||||||
|
|
||||||
ackProblem = (data: AckProblemData) => {
|
ackProblem = (data: AckProblemData) => {
|
||||||
const problem = this.props.original as ZBXTrigger;
|
const problem = this.props.original as ZBXTrigger;
|
||||||
console.log('acknowledge: ', problem.lastEvent && problem.lastEvent.eventid, data);
|
|
||||||
return this.props.onProblemAck(problem, data).then(result => {
|
return this.props.onProblemAck(problem, data).then(result => {
|
||||||
this.closeAckDialog();
|
this.closeAckDialog();
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|||||||
Reference in New Issue
Block a user