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

add an id for the DailyEntriesTable to allow turbo replacing it

Klaus Zanders7a717699874e
diff --git a/modules/costs/app/components/my/time_tracking/daily_entries_table.rb b/modules/costs/app/components/my/time_tracking/daily_entries_table.rb
index 903e285751f..7839842cd05 100644
--- a/modules/costs/app/components/my/time_tracking/daily_entries_table.rb
+++ b/modules/costs/app/components/my/time_tracking/daily_entries_table.rb
@@ -38,6 +38,10 @@ module My
TimeEntryRow
end
+ def container_id
+ "time-entries-table-#{options[:date].iso8601}"
+ end
+
def mobile_title
TimeEntry.model_name.human(count: 2)
end