Browse Source

refactor: remove unused code

feature/data-sources
danstarns 2 years ago
parent
commit
7ff69fb872
  1. 5
      src/trait_manager/model/Trait.ts

5
src/trait_manager/model/Trait.ts

@ -195,11 +195,6 @@ export default class Trait extends Model<TraitProperties> {
const valueOpts: { avoidStore?: boolean } = {};
const { setValue } = this.attributes;
// if (value && typeof value === 'object' && value.type === DataVariableType) {
// value = new TraitDataVariable(value, { em: this.em, trait: this }).initialize();
// this.listenToDataVariable(value);
// }
if (setValue) {
setValue({
value,

Loading…
Cancel
Save