fix bug with ics import when description is nil
This commit is contained in:
parent
19d9b96a84
commit
c79a67b345
1 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,8 @@ defmodule Shift73kWeb.ShiftImportLive.Index do
|
|||
}
|
||||
end
|
||||
|
||||
defp fix_description(nil), do: nil
|
||||
|
||||
defp fix_description(description) do
|
||||
description
|
||||
|> String.replace("<br>", "\r\n")
|
||||
|
|
Loading…
Reference in a new issue