File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
builder/ds-dynamic-form-ui/models/relation-group Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -275,11 +275,11 @@ export class DsDynamicRelationGroupComponent extends DynamicFormControlComponent
275275 valueModel . forEach ( ( valueObj ) => {
276276 const returnObj = Object . keys ( valueObj ) . map ( ( fieldName ) => {
277277 let return$ : Observable < any > ;
278- if ( isObject ( valueObj [ fieldName ] ) && valueObj [ fieldName ] . hasAuthority ( ) && isNotEmpty ( valueObj [ fieldName ] . authority ) ) {
278+ if ( isObject ( valueObj [ fieldName ] ) && ( valueObj [ fieldName ] as any ) . hasAuthority ( ) && isNotEmpty ( ( valueObj [ fieldName ] as any ) . authority ) ) {
279279 const fieldId = fieldName . replace ( / \. / g, '_' ) ;
280280 const model = this . formBuilderService . findById ( fieldId , this . formModel ) ;
281281 return$ = this . vocabularyService . findEntryDetailById (
282- valueObj [ fieldName ] . authority ,
282+ ( valueObj [ fieldName ] as any ) . authority ,
283283 ( model as any ) . vocabularyOptions . name ,
284284 ) . pipe (
285285 getFirstSucceededRemoteDataPayload ( ) ,
Original file line number Diff line number Diff line change @@ -117,13 +117,13 @@ export class ChipsComponent implements OnChanges {
117117 if ( ! chipsItem . editMode && this . dragged === - 1 ) {
118118 if ( field ) {
119119 if ( isObject ( chipsItem . item [ field ] ) ) {
120- textToDisplay . push ( chipsItem . item [ field ] . display ) ;
121- if ( chipsItem . item [ field ] . hasOtherInformation ( ) ) {
122- Object . keys ( chipsItem . item [ field ] . otherInformation )
120+ textToDisplay . push ( ( chipsItem . item [ field ] as any ) . display ) ;
121+ if ( ( chipsItem . item [ field ] as any ) . hasOtherInformation ( ) ) {
122+ Object . keys ( ( chipsItem . item [ field ] as any ) . otherInformation )
123123 . forEach ( ( otherField ) => {
124124 this . translate . get ( 'form.other-information.' + otherField )
125125 . subscribe ( ( label ) => {
126- textToDisplay . push ( label + ': ' + chipsItem . item [ field ] . otherInformation [ otherField ] ) ;
126+ textToDisplay . push ( label + ': ' + ( chipsItem . item [ field ] as any ) . otherInformation [ otherField ] ) ;
127127 } ) ;
128128 } ) ;
129129 }
You can’t perform that action at this time.
0 commit comments