Skip to content

Commit

Permalink
Remove logging and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrogers committed Sep 27, 2023
1 parent 9a7ea0a commit 70bc4c7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/providers/fault-mgmt-providers/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ import { getValue } from '../../utils.js';

function faultModelConvertor(faultData, type) {

console.log('current', faultData?.parameterDetail?.currentValue);
console.log('trigger', faultData?.parameterDetail?.triggerValue);

const currentValue = faultData?.parameterDetail?.currentValue && getValue(faultData.parameterDetail.currentValue);
const triggerValue = faultData?.parameterDetail?.triggerValue && getValue(faultData?.parameterDetail?.triggerValue);
console.log({currentValue, triggerValue});
const currentValue = faultData?.parameterDetail?.currentValue
&& getValue(faultData.parameterDetail.currentValue);
const triggerValue = faultData?.parameterDetail?.triggerValue
&& getValue(faultData.parameterDetail.triggerValue);

return {
type: type || faultData?.type,
Expand Down

0 comments on commit 70bc4c7

Please sign in to comment.