updated remaining instances of reference to global app

This commit is contained in:
zsviczian
2024-12-17 12:40:10 +00:00
parent 5d084ffc30
commit ae34e124a7
18 changed files with 65 additions and 59 deletions

View File

@@ -176,7 +176,7 @@ export class UniversalInsertFileModal extends Modal {
button
.setButtonText("as Embeddable")
.onClick(async () => {
const path = app.metadataCache.fileToLinktext(
const path = this.app.metadataCache.fileToLinktext(
file,
this.view.file.path,
file.extension === "md",