Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

linting

ulferts2f70d61ddd98
diff --git a/frontend/src/app/features/work-packages/components/wp-details/wp-details-toolbar.component.ts b/frontend/src/app/features/work-packages/components/wp-details/wp-details-toolbar.component.ts
index 56126449931..a82e2fd6985 100644
--- a/frontend/src/app/features/work-packages/components/wp-details/wp-details-toolbar.component.ts
+++ b/frontend/src/app/features/work-packages/components/wp-details/wp-details-toolbar.component.ts
@@ -37,7 +37,7 @@ import { ConfigurationService } from 'core-app/core/config/configuration.service
templateUrl: './wp-details-toolbar.html',
})
export class WorkPackageSplitViewToolbarComponent {
- @Input('workPackage') workPackage:WorkPackageResource;
+ @Input() workPackage:WorkPackageResource;
@Input() displayNotificationsButton:boolean;
@@ -47,10 +47,11 @@ export class WorkPackageSplitViewToolbarComponent {
button_more: this.I18n.t('js.button_more'),
};
- constructor(readonly I18n:I18nService,
+ constructor(
+ readonly I18n:I18nService,
readonly halEditing:HalResourceEditingService,
- readonly configurationService:ConfigurationService) {
-
- this.displayShareButton = this.configurationService.activeFeatureFlags.includes('workPackageSharing')
+ readonly configurationService:ConfigurationService,
+ ) {
+ this.displayShareButton = this.configurationService.activeFeatureFlags.includes('workPackageSharing');
}
}
diff --git a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts
index 800fecea476..1d2c379679b 100644
--- a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts
+++ b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts
@@ -105,7 +105,7 @@ export class WorkPackagesFullViewComponent extends WorkPackageSingleViewBase imp
this.isWatched = Object.prototype.hasOwnProperty.call(wp, 'unwatch');
this.displayWatchButton = Object.prototype.hasOwnProperty.call(wp, 'unwatch') || Object.prototype.hasOwnProperty.call(wp, 'watch');
this.displayTimerButton = Object.prototype.hasOwnProperty.call(wp, 'logTime');
- this.displayShareButton = this.configurationService.activeFeatureFlags.includes('workPackageSharing')
+ this.displayShareButton = this.configurationService.activeFeatureFlags.includes('workPackageSharing');
// watchers
if (wp.watchers) {