mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-1287] compatibility with the new noUnusedLocals rule (#2170)
* support for noUnusedLocals rule * clean diagram components * code cleanup * Viewer fixes * code fixes * code fixes
This commit is contained in:
committed by
Mario Romano
parent
0f239a1fa3
commit
9d3962b3b5
@@ -25,7 +25,7 @@ import {
|
||||
Output,
|
||||
SimpleChanges
|
||||
} from '@angular/core';
|
||||
import { AlfrescoTranslationService, DataColumnListComponent, LogService } from 'ng2-alfresco-core';
|
||||
import { AlfrescoTranslationService, DataColumnListComponent } from 'ng2-alfresco-core';
|
||||
import {
|
||||
DataColumn,
|
||||
DataRowEvent,
|
||||
@@ -99,9 +99,8 @@ export class TaskListComponent implements OnChanges, AfterContentInit {
|
||||
{ type: 'text', key: 'created', title: 'Created', cssClass: 'hidden', sortable: true }
|
||||
];
|
||||
|
||||
constructor(private translateService: AlfrescoTranslationService,
|
||||
private taskListService: TaskListService,
|
||||
private logService: LogService) {
|
||||
constructor(translateService: AlfrescoTranslationService,
|
||||
private taskListService: TaskListService) {
|
||||
if (translateService) {
|
||||
translateService.addTranslationFolder('ng2-activiti-tasklist', 'assets/ng2-activiti-tasklist');
|
||||
}
|
||||
|
Reference in New Issue
Block a user