mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 14:17:59 +01:00
fix warnings
This commit is contained in:
parent
1b774dfae3
commit
0e13a7e6a0
2 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ defmodule PhilomenaWeb.AdminCountersPlug do
|
|||
plug PhilomenaWeb.AdminCountersPlug
|
||||
"""
|
||||
|
||||
alias Plug.Conn
|
||||
alias Philomena.DuplicateReports
|
||||
alias Philomena.Reports
|
||||
alias Philomena.UserLinks
|
||||
|
|
|
@ -114,8 +114,8 @@ defmodule PhilomenaWeb.AppView do
|
|||
|> to_string()
|
||||
end
|
||||
|
||||
defp text_or_na(text), do: text
|
||||
defp text_or_na(nil), do: "N/A"
|
||||
defp text_or_na(text), do: text
|
||||
|
||||
# todo: make ip a real link
|
||||
def link_to_ip(ip) do
|
||||
|
|
Loading…
Reference in a new issue