mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 14:17:59 +01:00
handle nil notification user
This commit is contained in:
parent
0d3555c3da
commit
b81eb43038
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
|||
.flex.flex--centered.flex__grow
|
||||
div
|
||||
=> render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @notification.actor_child, conn: @conn
|
||||
= if @notification.actor_child do
|
||||
=> render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @notification.actor_child, conn: @conn
|
||||
- else
|
||||
' Someone
|
||||
=> @notification.action
|
||||
|
||||
strong>
|
||||
|
|
Loading…
Reference in a new issue