[ADF-1981] attachment task should not be in loading state by default

This commit is contained in:
Eugenio Romano
2017-11-23 01:38:05 +00:00
parent d2e1dc5aed
commit 8d982c7875
2 changed files with 5 additions and 1 deletions

View File

@@ -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);

View File

@@ -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,