feat: -rm download all json

This commit is contained in:
amhsirak
2025-04-30 20:33:14 +05:30
parent 9bc981593a
commit 94fecc131e

View File

@@ -235,18 +235,6 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe
}, 100);
};
const downloadAllJSON = () => {
let allData;
if (isLegacyData) {
allData = { data: legacyData };
} else {
allData = {
schema: schemaData,
list: listData.flat(),
};
}
const blob = new Blob([JSON.stringify(allData, null, 2)], { type: 'application/json;charset=utf-8;' });
const url = URL.createObjectURL(blob);