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

fix being able to edit widget titles

ulferts37a2e5ad13a4
diff --git a/frontend/src/app/modules/grids/widgets/abstract-widget.component.ts b/frontend/src/app/modules/grids/widgets/abstract-widget.component.ts
index ebd4d15f370..5547d29088e 100644
--- a/frontend/src/app/modules/grids/widgets/abstract-widget.component.ts
+++ b/frontend/src/app/modules/grids/widgets/abstract-widget.component.ts
@@ -14,12 +14,7 @@ export abstract class AbstractWidgetComponent {
@Output() resourceChanged = new EventEmitter<WidgetChangeset>();
public get widgetName():string {
- let fallback = this.resource.options.name;
- let widgetIdentifier = this.resource.identifier;
- return this.i18n.t(
- `js.grid.widgets.${widgetIdentifier}.title`,
- { defaultValue: fallback }
- );
+ return this.resource.options.name as string;
}
public renameWidget(name:string) {