Fix bookmark creation outside folders

fixes #878

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2019-12-12 16:36:46 +01:00
parent a2b8b45d9c
commit 6fad37f8df
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {