From 0fc3b6609091f9455f7caa7a29415f4e704d6a03 Mon Sep 17 00:00:00 2001 From: Dulce Date: Wed, 22 Apr 2026 09:44:25 -0600 Subject: [PATCH] datastage --- src/pages/Datastage.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pages/Datastage.jsx b/src/pages/Datastage.jsx index 5f45f2d..36fbb0a 100644 --- a/src/pages/Datastage.jsx +++ b/src/pages/Datastage.jsx @@ -381,11 +381,11 @@ export default function Datastage() { {item.id} - {item.archivo ? ( + {item.download_url ? ( {(() => { try { - const url = new URL(item.archivo); + const url = new URL(item.download_url); return decodeURIComponent(url.pathname.split('/').pop() || ''); } catch { return ''; @@ -399,7 +399,7 @@ export default function Datastage() { item.id, (() => { try { - const url = new URL(item.archivo); + const url = new URL(item.download_url); return decodeURIComponent(url.pathname.split('/').pop() || ''); } catch { return ''; @@ -507,16 +507,16 @@ export default function Datastage() {
- {item.archivo ? ( + {item.download_url ? ( - {(() => { try { const url = new URL(item.archivo); return decodeURIComponent(url.pathname.split('/').pop() || ''); } catch { return ''; } })()} + {(() => { try { const url = new URL(item.download_url); return decodeURIComponent(url.pathname.split('/').pop() || ''); } catch { return ''; } })()}