Revert "First set of changes for Notebooks removal. (#1816)" (#1830)

This reverts commit b023250e67.
This commit is contained in:
jawelton74
2024-05-01 07:21:50 -07:00
committed by GitHub
parent 81a5b7cb6d
commit 298197b1b8
15 changed files with 2242 additions and 11 deletions

View File

@@ -245,6 +245,7 @@ export function downloadItem(
},
"Cancel",
undefined,
container.getDownloadModalConent(name),
);
}
export async function downloadNotebookItem(
@@ -277,6 +278,7 @@ export async function downloadNotebookItem(
metadata.untrusted = true;
}
await container.importAndOpenContent(data.name, JSON.stringify(notebook));
logConsoleInfo(`Successfully downloaded ${data.name} to ${useNotebook.getState().notebookFolderName}`);
const increaseDownloadResponse = await junoClient.increaseNotebookDownloadCount(data.id);