From 9151537d163e2652ad876f2f7342766fe920cec4 Mon Sep 17 00:00:00 2001 From: adish-rmr Date: Thu, 26 Feb 2026 16:09:40 +0100 Subject: [PATCH] fix ingredient page --- pages/ingredients_page.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/ingredients_page.py b/pages/ingredients_page.py index be18a27..0629b76 100644 --- a/pages/ingredients_page.py +++ b/pages/ingredients_page.py @@ -110,7 +110,8 @@ else: label="Download CosIng PDF", data=pdf_bytes, file_name=f"{cas_input}_cosing.pdf", - mime="application/pdf" + mime="application/pdf", + key=f"download_cosing_{ref_no}" ) else: st.error(pdf_bytes) @@ -139,7 +140,7 @@ else: if link_opinions: st.markdown("**SCCS Opinions:**") for url in link_opinions: - st.link_button("View SCCS Opinion", url) + st.markdown(f"[View SCCS Opinion]({url})") if i < len(cosing_list) - 1: st.divider()