Skip to content

Commit

Permalink
adds message when no episode content, fixes #30
Browse files Browse the repository at this point in the history
  • Loading branch information
azimut committed Apr 3, 2024
1 parent 2b1d886 commit 81f6d84
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frontend/src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,14 @@ fillDetails eDetails =
List.map
(\entry ->
if entry.id == eDetails.id then
{ entry | content = eDetails.content }
{ entry
| content =
if eDetails.content == "" then
"No description."

else
eDetails.content
}

else
entry
Expand Down

0 comments on commit 81f6d84

Please sign in to comment.