Skip to content

Commit

Permalink
remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Nov 8, 2024
1 parent 0c43065 commit 16ed546
Showing 1 changed file with 3 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,8 @@ export class MappingStepPropertiesComponent
implements OnInit, OnChanges, OnDestroy
{
@Input() mapping: Mapping;
@Input()
set supportsMessageContext(value: any) {
this._supportsMessageContext = value;
}
@Input() supportsMessageContext: boolean;

get supportsMessageContext(): any {
return this._supportsMessageContext;
}
@Input() stepperConfiguration: StepperConfiguration;
@Input() propertyFormly: FormGroup;

Expand All @@ -75,7 +69,6 @@ export class MappingStepPropertiesComponent
selectedResult$: BehaviorSubject<number> = new BehaviorSubject<number>(0);
sourceSystem: string;
targetSystem: string;
_supportsMessageContext: boolean;

constructor(
mappingService: MappingService,
Expand All @@ -86,7 +79,7 @@ export class MappingStepPropertiesComponent

ngOnChanges(changes: SimpleChanges) {
if (changes['supportsMessageContext']) {
this._supportsMessageContext =
this.supportsMessageContext =
changes['supportsMessageContext'].currentValue;
this.propertyFormlyFields = [...this.propertyFormlyFields];
console.log('Changes', changes);
Expand Down Expand Up @@ -453,13 +446,7 @@ export class MappingStepPropertiesComponent
'Supports key from message context, e.g. partition keys for Kafka. This property only applies to certain connectors.',
hideLabel: true
},
hideExpression: () => {
console.log(
'supportsMessageContext',
this._supportsMessageContext
);
return !this._supportsMessageContext;
}
hideExpression: () => !this.supportsMessageContext
}
]
}
Expand Down

0 comments on commit 16ed546

Please sign in to comment.