Skip to content

Commit 0d78f6e

Browse files
committed
Release v1.6.11
1 parent 928a693 commit 0d78f6e

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v1.6.11
2+
3+
Minor fixes
4+
15
# v1.6.10
26

37
Minor fixes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Memento",
3-
"version": "1.6.9",
3+
"version": "1.6.11",
44
"author": {
55
"name": "Oscar Morris",
66
"email": "twocap06@gmail.com"

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Images cannot be added when editing the `.list` file, they must be added in the
3030

3131
# Changelog
3232

33-
## v1.6.10
33+
## v1.6.11
3434

3535
Features:
3636

src/Components/ListGrid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function ListGrid(props) {
2828
items.push([]) // create some blank space at the bottom of the page
2929

3030
const handleMove = (item, monitor, pth, name, path) => { // function to handle drag/drop to move items
31-
move(item, pth, name) // run the util file to move files/folders
31+
move(item, (path ? path + "-" : "") + pth, name) // run the util file to move files/folders
3232
}
3333

3434
return (

src/Components/ListItem.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,16 @@ function ListItem(props) {
8787
// get the current and new path of the item
8888
let split = props.pth.split('-')
8989

90-
let folderSplit = props.parent_path.split('-')
90+
console.log(props.parent_path)
91+
92+
let folderSplit = props.parent_path.split('/')
93+
94+
console.log(folderSplit)
95+
96+
folderSplit.shift()
97+
folderSplit.shift()
98+
99+
console.log(folderSplit)
91100

92101
let oldpath
93102
let newpath

0 commit comments

Comments
 (0)