mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
attempt to fix the duplicate issue
This commit is contained in:
parent
c8e4a5c9e7
commit
cf3726289c
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "trilium",
|
||||
"version": "0.33.3",
|
||||
"version": "0.33.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -630,7 +630,8 @@ async function createNote(node, parentNoteId, target, extraOptions = {}) {
|
||||
extraClasses: await treeBuilder.getExtraClasses(noteEntity),
|
||||
icon: await treeBuilder.getIcon(noteEntity),
|
||||
folder: extraOptions.type === 'search',
|
||||
lazy: true
|
||||
lazy: true,
|
||||
key: utils.randomString(12) // this should prevent some "duplicate key" errors
|
||||
};
|
||||
|
||||
if (target === 'after') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user