mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
fix error on profile page
This commit is contained in:
parent
0919792d53
commit
840a852b68
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
|||
.block__header
|
||||
span.block__header__title User Links
|
||||
= for link <- @user.verified_links, link.public or can?(@conn, :edit, link) do
|
||||
- watchers = @watcher_counts[link.tag.id] || 0
|
||||
- watchers = if link.tag, do: @watcher_counts[link.tag.id] || 0, else: 0
|
||||
|
||||
.block__content.alternating-color.break-word
|
||||
.center
|
||||
|
|
Loading…
Reference in a new issue