1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Cloning of a note should also clone its attachments -> works if the notes are in different storages now

This commit is contained in:
ehhc
2018-05-20 15:49:15 +02:00
parent f76224bd17
commit cd6233a3d7
3 changed files with 26 additions and 23 deletions

View File

@@ -664,7 +664,7 @@ class NoteList extends React.Component {
content: firstNote.content
})
.then((note) => {
attachmentManagement.cloneAttachments(storage.key, firstNote, note)
attachmentManagement.cloneAttachments(firstNote, note)
return note
})
.then((note) => {