mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +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
|
.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) => {
|
.map(([group, control]: [DynamicFormArrayGroupModel, AbstractControl], index: number) => {
|
||||||
const model = group.group[0] as DynamicConcatModel;
|
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;
|
let formFieldMetadataValue: FormFieldMetadataValueObject = model.value as FormFieldMetadataValueObject;
|
||||||
// console.log('formFieldMetadataValue', formFieldMetadataValue);
|
|
||||||
if (hasValue(formFieldMetadataValue)) {
|
if (hasValue(formFieldMetadataValue)) {
|
||||||
const metadataValue = Object.assign(new MetadataValue(), {
|
const metadataValue = Object.assign(new MetadataValue(), {
|
||||||
value: formFieldMetadataValue.display,
|
value: formFieldMetadataValue.display,
|
||||||
|
@@ -48,7 +48,6 @@ export class DsDynamicScrollableDropdownComponent extends DynamicFormControlComp
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
// console.log('ngOnInit', this.model, this.model.value);
|
|
||||||
this.searchOptions = new IntegrationSearchOptions(
|
this.searchOptions = new IntegrationSearchOptions(
|
||||||
this.model.authorityOptions.scope,
|
this.model.authorityOptions.scope,
|
||||||
this.model.authorityOptions.name,
|
this.model.authorityOptions.name,
|
||||||
@@ -66,7 +65,6 @@ export class DsDynamicScrollableDropdownComponent extends DynamicFormControlComp
|
|||||||
}),
|
}),
|
||||||
first())
|
first())
|
||||||
.subscribe((object: IntegrationData) => {
|
.subscribe((object: IntegrationData) => {
|
||||||
// console.log('ngOnInit subscribe', object, this.model, this.model.value);
|
|
||||||
this.optionsList = object.payload;
|
this.optionsList = object.payload;
|
||||||
if (this.model.value) {
|
if (this.model.value) {
|
||||||
this.setCurrentValue(this.model.value);
|
this.setCurrentValue(this.model.value);
|
||||||
|
Reference in New Issue
Block a user