Skip to content

Commit

Permalink
chore: removed debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
smarcet committed Jun 11, 2024
1 parent 2efd8b5 commit f1fa2c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/forms/promocode-form/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,9 @@ class PromocodeForm extends React.Component {
}

if (entity.class_name) {
console.log(`PromocodeForm::render entity.class_name ${entity.class_name}`, allClasses);
let classTypes = allClasses.find(c => c.class_name === entity.class_name).type;

if (classTypes) {
console.log(`PromocodeForm::render classTypes`, classTypes);
promocode_types_ddl = classTypes.map(t => ({label: t, value: t}));
}
}
Expand Down

0 comments on commit f1fa2c2

Please sign in to comment.