mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
adding links to owning note and list to attachments
This commit is contained in:
@@ -83,7 +83,7 @@ function calculateHash({notePath, ntxId, hoistedNoteId, viewScope = {}}) {
|
||||
const params = [
|
||||
ntxId ? { ntxId: ntxId } : null,
|
||||
(hoistedNoteId && hoistedNoteId !== 'root') ? { hoistedNoteId: hoistedNoteId } : null,
|
||||
viewScope.viewMode !== 'default' ? { viewMode: viewScope.viewMode } : null,
|
||||
viewScope.viewMode && viewScope.viewMode !== 'default' ? { viewMode: viewScope.viewMode } : null,
|
||||
viewScope.attachmentId ? { attachmentId: viewScope.attachmentId } : null
|
||||
].filter(p => !!p);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user