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

Fixes #1825 Refactoring of the attachment/image management

This commit is contained in:
ehhc
2018-04-18 20:09:12 +02:00
parent 02fb1d01ad
commit d2163dacf9
13 changed files with 383 additions and 74 deletions

View File

@@ -75,6 +75,7 @@ function moveNote (storageKey, noteKey, newStorageKey, newFolderKey) {
while (match != null) {
const [, filename] = match
const oldPath = path.join(oldStorage.path, 'images', filename)
//TODO: ehhc: attachmentManagement
moveTasks.push(
copyImage(oldPath, noteData.storage, false)
.then(() => {