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 ''; } })()}