From b15113ad969b3adbbadd65b34f7c0718d757a041 Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Thu, 3 Sep 2020 11:36:28 +0200 Subject: [PATCH] Fixed failed test --- .../ds-dynamic-form-ui/models/dynamic-vocabulary.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/shared/form/builder/ds-dynamic-form-ui/models/dynamic-vocabulary.component.ts b/src/app/shared/form/builder/ds-dynamic-form-ui/models/dynamic-vocabulary.component.ts index 3c95aa0585..83bacf6ea8 100644 --- a/src/app/shared/form/builder/ds-dynamic-form-ui/models/dynamic-vocabulary.component.ts +++ b/src/app/shared/form/builder/ds-dynamic-form-ui/models/dynamic-vocabulary.component.ts @@ -65,7 +65,7 @@ export abstract class DsDynamicVocabularyComponent extends DynamicFormControlCom null, initEntry.authority, initEntry.display, - null, + (this.model.value as any).place, null, initEntry.otherInformation || null ); @@ -80,7 +80,7 @@ export abstract class DsDynamicVocabularyComponent extends DynamicFormControlCom null, this.model.value.authority, this.model.value.display, - null, + 0, null, this.model.value.otherInformation || null )