mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27: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
|
plug PhilomenaWeb.AdminCountersPlug
|
||||||
"""
|
"""
|
||||||
|
|
||||||
alias Plug.Conn
|
|
||||||
alias Philomena.DuplicateReports
|
alias Philomena.DuplicateReports
|
||||||
alias Philomena.Reports
|
alias Philomena.Reports
|
||||||
alias Philomena.UserLinks
|
alias Philomena.UserLinks
|
||||||
|
|
|
@ -114,8 +114,8 @@ defmodule PhilomenaWeb.AppView do
|
||||||
|> to_string()
|
|> to_string()
|
||||||
end
|
end
|
||||||
|
|
||||||
defp text_or_na(text), do: text
|
|
||||||
defp text_or_na(nil), do: "N/A"
|
defp text_or_na(nil), do: "N/A"
|
||||||
|
defp text_or_na(text), do: text
|
||||||
|
|
||||||
# todo: make ip a real link
|
# todo: make ip a real link
|
||||||
def link_to_ip(ip) do
|
def link_to_ip(ip) do
|
||||||
|
|
Loading…
Reference in a new issue