fix: dashboard activity feed uses correct field names (summary/timestamp instead of description/inserted_at)
This commit is contained in:
parent
e195e5c9e8
commit
715a20dd09
1 changed files with 2 additions and 2 deletions
|
|
@ -516,10 +516,10 @@
|
|||
</div>
|
||||
<div class="min-w-0 flex-1">
|
||||
<p class="text-gray-900 dark:text-white text-sm">
|
||||
{activity.description}
|
||||
{activity.summary}
|
||||
</p>
|
||||
<p class="text-xs text-gray-500 dark:text-gray-400 mt-0.5">
|
||||
{Calendar.strftime(activity.inserted_at, "%b %d %H:%M")}
|
||||
{Calendar.strftime(activity.timestamp, "%b %d %H:%M")}
|
||||
<%= if Map.get(activity, :actor_name) do %>
|
||||
<span class="ml-1">by {activity.actor_name}</span>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue