mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
renamed attachment's parentId to more fitting ownerId
This commit is contained in:
@@ -121,7 +121,7 @@ export default class NoteActionsWidget extends NoteContextAwareWidget {
|
||||
|
||||
toastService.showMessage(`Note '${newAttachment.title}' has been converted to attachment.`);
|
||||
await ws.waitForMaxKnownEntityChangeId();
|
||||
await appContext.tabManager.getActiveContext().setNote(newAttachment.parentId, {
|
||||
await appContext.tabManager.getActiveContext().setNote(newAttachment.ownerId, {
|
||||
viewScope: {
|
||||
viewMode: 'attachments',
|
||||
attachmentId: newAttachment.attachmentId
|
||||
|
||||
Reference in New Issue
Block a user