diff --git a/frontend/src/app/components/wp-activity/activity-link-directive.ts b/frontend/src/app/components/wp-activity/activity-link-directive.ts index 43753dbb01..8999213f8b 100644 --- a/frontend/src/app/components/wp-activity/activity-link-directive.ts +++ b/frontend/src/app/components/wp-activity/activity-link-directive.ts @@ -13,7 +13,7 @@ function activityLink() { onBlur: '&', onFocus: '&' }, - link: function(scope) { + link: function(scope:any) { scope.workPackageId = scope.workPackage.id; scope.activityHtmlId = 'activity-' + scope.activityNo; } diff --git a/frontend/src/app/ng1-overwritten-injections.ts b/frontend/src/app/ng1-overwritten-injections.ts index ce43474f49..29b81f3dea 100644 --- a/frontend/src/app/ng1-overwritten-injections.ts +++ b/frontend/src/app/ng1-overwritten-injections.ts @@ -4,7 +4,6 @@ import {WorkPackageCacheService} from 'core-components/work-packages/work-packag import {WorkPackageDisplayFieldService} from 'core-components/wp-display/wp-display-field/wp-display-field.service'; import {WorkPackageEditFieldService} from 'core-components/wp-edit/wp-edit-field/wp-edit-field.service'; import {WorkPackageTableRefreshService} from 'core-components/wp-table/wp-table-refresh-request.service'; -import {ConfigurationService} from 'core-components/common/config/configuration.service'; import {ExternalQueryConfigurationService} from "core-components/wp-table/external-configuration/external-query-configuration.service"; class Ng1WorkPackageCacheService extends WorkPackageCacheService { @@ -21,17 +20,10 @@ class Ng1WorkPackageDisplayFieldService extends WorkPackageDisplayFieldService { class Ng1WorkPackageEditFieldService extends WorkPackageEditFieldService { } -class Ng1WorkPackageCacheService extends WorkPackageCacheService {} -class Ng1SchemaCacheService extends SchemaCacheService {} - -class Ng1WorkPackageTableRefreshService extends WorkPackageTableRefreshService {} - -class Ng1WorkPackageDisplayFieldService extends WorkPackageDisplayFieldService {} - -class Ng1ExternalQueryConfigurationService extends ExternalQueryConfigurationService {} +class Ng1ExternalQueryConfigurationService extends ExternalQueryConfigurationService { +} -class Ng1WorkPackageEditFieldService extends WorkPackageEditFieldService {} angular .module('openproject')