Skip to content

Commit

Permalink
lns: fix view all number
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Feb 6, 2024
1 parent b38de38 commit fd7d268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library-Notification-Service/src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def create_channel_message(message: List[dict], title: str, url: str) -> str:
html_string += f"<li><a href='{doc_url}'>{doc_title}</a></li>\n"
html_string += "</ul>"

# if len(message) > 10:
html_string += f"<p><a href='{url}'>View all</a></p>"
if len(message) > 10:
html_string += f"<p><a href='{url}'>View all</a></p>"

return html_string

0 comments on commit fd7d268

Please sign in to comment.