File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
projects/netgrif-components-core/src/lib/task-content/services Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ export abstract class TaskContentService implements OnDestroy {
313313 protected findTaskRefId ( taskId : string , fields : { [ fieldId : string ] : DataField < any > } ) : DataField < any > {
314314 let taskRefId = Object . values ( fields ) . find ( f => f instanceof TaskRefField && f . value . includes ( taskId ) ) ;
315315 if ( ! taskRefId ) {
316- const referencedTaskIds = Object . values ( fields ) . filter ( f => f instanceof TaskRefField ) . map ( tr => tr . value ) ;
316+ const referencedTaskIds = Array . prototype . concat . apply ( [ ] , Object . values ( fields ) . filter ( f => f instanceof TaskRefField ) . map ( tr => tr . value ) ) ;
317317 referencedTaskIds . forEach ( id => {
318318 taskRefId = this . findTaskRefId ( taskId , this . taskFieldsIndex [ id ] . fields ) ;
319319 if ( ! ! taskRefId ) {
You can’t perform that action at this time.
0 commit comments