mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1981] attachment task should not be in loading state by default
This commit is contained in:
@@ -263,6 +263,10 @@ describe('TaskAttachmentList', () => {
|
|||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
it('loading should be false by default', () => {
|
||||||
|
expect(component.isLoading).toBeFalsy();
|
||||||
|
});
|
||||||
|
|
||||||
describe('change detection', () => {
|
describe('change detection', () => {
|
||||||
|
|
||||||
let change = new SimpleChange('123', '456', true);
|
let change = new SimpleChange('123', '456', true);
|
||||||
|
@@ -48,7 +48,7 @@ export class TaskAttachmentListComponent implements OnChanges, AfterViewInit {
|
|||||||
customTemplateRef: ElementRef;
|
customTemplateRef: ElementRef;
|
||||||
|
|
||||||
attachments: any[] = [];
|
attachments: any[] = [];
|
||||||
isLoading: boolean = true;
|
isLoading: boolean = false;
|
||||||
|
|
||||||
constructor(private activitiContentService: ProcessContentService,
|
constructor(private activitiContentService: ProcessContentService,
|
||||||
private contentService: ContentService,
|
private contentService: ContentService,
|
||||||
|
Reference in New Issue
Block a user