Skip to content

Commit

Permalink
add temp debug logs for rancher testing
Browse files Browse the repository at this point in the history
  • Loading branch information
usavkov-epam committed Nov 7, 2023
1 parent b16fa04 commit 9a7a11c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/POLine/POLineForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,14 @@ function POLineForm({
if (!lineId && templateValue.id) {
const populateFieldsFromTemplate = (fields) => {
batch(() => {
console.log('debug', fields);

Check warning on line 146 in src/components/POLine/POLineForm.js

View workflow job for this annotation

GitHub Actions / github-actions-ci

Unexpected console statement
fields.forEach(field => {
const templateField = POL_TEMPLATE_FIELDS_MAP[field] || field;
const templateFieldValue = get(templateValue, templateField);

if (templateFieldValue !== undefined) change(field, templateFieldValue);

// debugger;
});
});
};
Expand Down

0 comments on commit 9a7a11c

Please sign in to comment.