mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
fix test and coverage Angular2 Final release documentlist component #749
This commit is contained in:
@@ -23,10 +23,8 @@ import {
|
||||
} from '@angular/core';
|
||||
import { DocumentList } from '../document-list';
|
||||
|
||||
declare let __moduleName: string;
|
||||
|
||||
@Component({
|
||||
moduleId: __moduleName,
|
||||
moduleId: module.id,
|
||||
selector: 'alfresco-document-list-breadcrumb',
|
||||
templateUrl: './breadcrumb.component.html',
|
||||
styleUrls: ['./breadcrumb.component.css']
|
||||
|
@@ -42,10 +42,9 @@ import {
|
||||
} from './../data/share-datatable-adapter';
|
||||
|
||||
declare var componentHandler;
|
||||
declare let __moduleName: string;
|
||||
|
||||
@Component({
|
||||
moduleId: __moduleName,
|
||||
moduleId: module.id,
|
||||
selector: 'alfresco-document-list',
|
||||
styleUrls: ['./document-list.css'],
|
||||
templateUrl: './document-list.html'
|
||||
@@ -58,7 +57,7 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit
|
||||
|
||||
DEFAULT_ROOT_FOLDER: string = '/';
|
||||
|
||||
baseComponentPath = __moduleName.replace('/components/document-list.js', '');
|
||||
baseComponentPath = module.id.replace('/components/document-list.js', '');
|
||||
|
||||
@Input()
|
||||
fallbackThubnail: string = this.baseComponentPath + '/img/ft_ic_miscellaneous.svg';
|
||||
|
Reference in New Issue
Block a user