From fd7d268dfc96ec8b6eb7c80392b46437aa9e525e Mon Sep 17 00:00:00 2001 From: Harris Tzovanakis Date: Tue, 6 Feb 2024 13:25:40 +0100 Subject: [PATCH] lns: fix view all number --- Library-Notification-Service/src/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library-Notification-Service/src/utils.py b/Library-Notification-Service/src/utils.py index 03a7445..d84101a 100644 --- a/Library-Notification-Service/src/utils.py +++ b/Library-Notification-Service/src/utils.py @@ -110,7 +110,7 @@ def create_channel_message(message: List[dict], title: str, url: str) -> str: html_string += f"
  • {doc_title}
  • \n" html_string += "" - # if len(message) > 10: - html_string += f"

    View all

    " + if len(message) > 10: + html_string += f"

    View all

    " return html_string