diff --git a/lib/process-services/attachment/task-attachment-list.component.spec.ts b/lib/process-services/attachment/task-attachment-list.component.spec.ts index 80da68842c..f0b4b4f0e5 100644 --- a/lib/process-services/attachment/task-attachment-list.component.spec.ts +++ b/lib/process-services/attachment/task-attachment-list.component.spec.ts @@ -263,6 +263,10 @@ describe('TaskAttachmentList', () => { }); })); + it('loading should be false by default', () => { + expect(component.isLoading).toBeFalsy(); + }); + describe('change detection', () => { let change = new SimpleChange('123', '456', true); diff --git a/lib/process-services/attachment/task-attachment-list.component.ts b/lib/process-services/attachment/task-attachment-list.component.ts index b190c4f856..738dc79d5d 100644 --- a/lib/process-services/attachment/task-attachment-list.component.ts +++ b/lib/process-services/attachment/task-attachment-list.component.ts @@ -48,7 +48,7 @@ export class TaskAttachmentListComponent implements OnChanges, AfterViewInit { customTemplateRef: ElementRef; attachments: any[] = []; - isLoading: boolean = true; + isLoading: boolean = false; constructor(private activitiContentService: ProcessContentService, private contentService: ContentService,