Update app.py
Browse files
app.py
CHANGED
|
@@ -533,7 +533,7 @@ def main():
|
|
| 533 |
# Attachments
|
| 534 |
attachments = row.get('attachments', []) # Safely get attachments
|
| 535 |
if attachments:
|
| 536 |
-
with st.expander(f"📎 Attachments ({len(attachments)})"):
|
| 537 |
for att in attachments:
|
| 538 |
st.markdown(f"""
|
| 539 |
<div style="margin:0.5rem 0; padding:0.5rem; border-radius:5px; background:#f0f2f6;">
|
|
|
|
| 533 |
# Attachments
|
| 534 |
attachments = row.get('attachments', []) # Safely get attachments
|
| 535 |
if attachments:
|
| 536 |
+
with st.expander(f"📎 Attachments ({len(attachments) if isinstance(attachments, list) else 0})"):
|
| 537 |
for att in attachments:
|
| 538 |
st.markdown(f"""
|
| 539 |
<div style="margin:0.5rem 0; padding:0.5rem; border-radius:5px; background:#f0f2f6;">
|