From a74d513226d15296b55d634573be581ccc7784d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Mon, 28 May 2018 17:01:21 +0200 Subject: [PATCH] Fix compile errors [ci skip] --- .../wp-activity/activity-link-directive.ts | 2 +- frontend/src/app/ng1-overwritten-injections.ts | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) 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')