Skip to content

Commit

Permalink
fix: copy/share not working (this.app TypeError)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgurney committed Nov 23, 2024
1 parent 2adc63e commit d8ff837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/ImportExport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function exportToCalloutList(
plugin.replaceVars(itemLink, activeFile).then((resolvedLink) => {
resolvedItemLink = resolvedLink;
});
let fileOrFolder = this.plugin.app.vault.getAbstractFileByPath(resolvedItemLink);
let fileOrFolder = plugin.app.vault.getAbstractFileByPath(resolvedItemLink);
if (fileOrFolder instanceof TFolder) {
itemsExport += options.useDataEls
? `${BULLET} [${itemIcon}${itemText}]()<data data-ntb-folder="${itemLink}"/>`
Expand Down

0 comments on commit d8ff837

Please sign in to comment.