attachments WIP

This commit is contained in:
zadam
2023-05-29 00:19:54 +02:00
parent c2f70031d0
commit 0aa119af2c
37 changed files with 448 additions and 320 deletions

View File

@@ -120,7 +120,7 @@ export default class DeleteNotesDialog extends BasicWidget {
for (const note of await froca.getNotes(response.noteIdsToBeDeleted)) {
this.$deleteNotesList.append(
$("<li>").append(
await linkService.createNoteLink(note.noteId, {showNotePath: true})
await linkService.createLink(note.noteId, {showNotePath: true})
)
);
}
@@ -136,9 +136,9 @@ export default class DeleteNotesDialog extends BasicWidget {
this.$brokenRelationsList.append(
$("<li>")
.append(`Note `)
.append(await linkService.createNoteLink(attr.value))
.append(await linkService.createLink(attr.value))
.append(` (to be deleted) is referenced by relation <code>${attr.name}</code> originating from `)
.append(await linkService.createNoteLink(attr.noteId))
.append(await linkService.createLink(attr.noteId))
);
}
}