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 @@ -312,7 +312,7 @@ export abstract class TaskContentService implements OnDestroy {
312312 protected findTaskRefId ( taskId : string , fields : { [ fieldId : string ] : DataField < any > } ) : DataField < any > {
313313 let taskRefId = Object . values ( fields ) . find ( f => f instanceof TaskRefField && f . value . includes ( taskId ) ) ;
314314 if ( ! taskRefId ) {
315- const referencedTaskIds = Object . values ( fields ) . filter ( f => f instanceof TaskRefField ) . map ( tr => tr . value ) ;
315+ const referencedTaskIds = Array . prototype . concat . apply ( [ ] , Object . values ( fields ) . filter ( f => f instanceof TaskRefField ) . map ( tr => tr . value ) ) ;
316316 referencedTaskIds . forEach ( id => {
317317 taskRefId = this . findTaskRefId ( taskId , this . taskFieldsIndex [ id ] . fields ) ;
318318 if ( ! ! taskRefId ) {
You can’t perform that action at this time.
0 commit comments