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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
display placeholder in case of no time entry activity
ulferts9ddceebdcce9
diff --git a/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.ts b/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.tsindex 27bdcddba5a..d7ea932a681 100644--- a/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.ts+++ b/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.ts@@ -31,6 +31,7 @@ export abstract class WidgetTimeEntriesListComponent extends AbstractWidgetCompotitle: this.i18n.t('js.modals.destroy_time_entry.title'),},noResults: this.i18n.t('js.grid.widgets.time_entries_list.no_results'),+ placeholder: this.i18n.t('js.placeholders.default'),};public entries:TimeEntryResource[] = [];@@ -84,7 +85,7 @@ export abstract class WidgetTimeEntriesListComponent extends AbstractWidgetCompo}public activityName(entry:TimeEntryResource):string {- return entry.activity.name;+ return entry.activity ? entry.activity.name : this.text.placeholder;}public projectName(entry:TimeEntryResource):string {