mirror of https://github.com/nextcloud/bookmarks
Fix bookmark creation outside folders
fixes #878 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
a2b8b45d9c
commit
6fad37f8df
|
@ -84,7 +84,7 @@ export default {
|
|||
url: data.url,
|
||||
title: data.title,
|
||||
description: data.description,
|
||||
folders: data.folders.map(parseInt),
|
||||
folders: data.folders && data.folders.map(parseInt),
|
||||
tags: data.tags,
|
||||
})
|
||||
.then(response => {
|
||||
|
|
Loading…
Reference in New Issue