Skip to content

Commit

Permalink
Accept that work package can be empty on time entry
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Dec 19, 2024
1 parent 571df6e commit d4a8eb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def build_table_day_rows(spent_on, entries)
def build_table_row(spent_on, entry)
[
{ content: format_date(spent_on), rowspan: entry.comments.present? ? 2 : 1 },
entry.work_package.subject || "",
entry.work_package&.subject || "",
with_times_column? ? format_spent_on_time(entry) : nil,
format_hours(entry.hours),
entry.activity&.name || ""
Expand Down

0 comments on commit d4a8eb6

Please sign in to comment.