Skip to content

Commit ec51eda

Browse files
committed
text: change externalLinks to links to calculate and set script size
1 parent 080369f commit ec51eda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/DatasetDetailPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ const DatasetDetailPage: React.FC = () => {
394394
// // ✅ Construct download script dynamically
395395
let script = `curl -L --create-dirs "https://neurojson.io:7777/${dbName}/${docId}" -o "${docId}.json"\n`;
396396

397-
externalLinks.forEach((link) => {
397+
links.forEach((link) => {
398398
const url = link.url;
399399
// console.log("url", url);
400400
const match = url.match(/file=([^&]+)/);

0 commit comments

Comments
 (0)