BigW Consortium Gitlab

Fix error 500 when target is nil on todo list

parent 8718acdf
......@@ -10,7 +10,10 @@
(removed)
%span.todo-label
= todo_action_name(todo)
= todo_target_link(todo)
- if todo.target
= todo_target_link(todo)
- else
(removed)
· #{time_ago_with_tooltip(todo.created_at)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment