A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: remove unnecessary console.log stmt
Abdullah Atta35210ad02b62
diff --git a/apps/web/src/common/export.ts b/apps/web/src/common/export.tsindex 380274119..aae65ffcf 100644--- a/apps/web/src/common/export.ts+++ b/apps/web/src/common/export.ts@@ -71,8 +71,8 @@ export async function exportNotes(total: noteIds.length,text: `Exporting "${note.title}"...`});- console.log("Exporting", note.title);- const content = await note.export(format, null).catch((e) => {++ const content = await note.export(format, null).catch((e: Error) => {showToast("error", e.message);});if (!content) continue;diff --git a/packages/core/models/note.js b/packages/core/models/note.jsindex e221b6775..904e32768 100644--- a/packages/core/models/note.js+++ b/packages/core/models/note.js@@ -80,6 +80,7 @@ export default class Note {** @param {"html"|"md"|"txt"} format - Format to export into* @param {string?} rawContent - Use this raw content instead of generating itself+ * @returns {Promise<string | false | undefined>}*/async export(to = "html", rawContent) {if (to !== "txt" && !(await checkIsUserPremium(CHECK_IDS.noteExport)))