mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
remove debug logs
This commit is contained in:
@@ -111,10 +111,7 @@ export class DsDynamicFormArrayComponent extends DynamicFormArrayComponent imple
|
||||
.filter(([group, control], index) => index > 0 && hasValue((group.group[0] as any).value)) // disregard the first group, it is always empty to ensure the first field remains empty
|
||||
.map(([group, control]: [DynamicFormArrayGroupModel, AbstractControl], index: number) => {
|
||||
const model = group.group[0] as DynamicConcatModel;
|
||||
// console.log('model.id', model.id);
|
||||
// console.log('model.value', model.value);
|
||||
let formFieldMetadataValue: FormFieldMetadataValueObject = model.value as FormFieldMetadataValueObject;
|
||||
// console.log('formFieldMetadataValue', formFieldMetadataValue);
|
||||
if (hasValue(formFieldMetadataValue)) {
|
||||
const metadataValue = Object.assign(new MetadataValue(), {
|
||||
value: formFieldMetadataValue.display,
|
||||
|
@@ -48,7 +48,6 @@ export class DsDynamicScrollableDropdownComponent extends DynamicFormControlComp
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
// console.log('ngOnInit', this.model, this.model.value);
|
||||
this.searchOptions = new IntegrationSearchOptions(
|
||||
this.model.authorityOptions.scope,
|
||||
this.model.authorityOptions.name,
|
||||
@@ -66,7 +65,6 @@ export class DsDynamicScrollableDropdownComponent extends DynamicFormControlComp
|
||||
}),
|
||||
first())
|
||||
.subscribe((object: IntegrationData) => {
|
||||
// console.log('ngOnInit subscribe', object, this.model, this.model.value);
|
||||
this.optionsList = object.payload;
|
||||
if (this.model.value) {
|
||||
this.setCurrentValue(this.model.value);
|
||||
|
Reference in New Issue
Block a user