fix linting errors

This commit is contained in:
Hans Pagel 2020-09-24 18:59:19 +02:00
parent 491f4c2d26
commit 6da9f9cd93

View File

@ -44,15 +44,12 @@ export default {
this.items.forEach(({ title, link, items }) => {
flattenedItems.push({
title,
link
link,
})
if (items) {
items.forEach(({ title, link }) => {
flattenedItems.push({
title,
link
})
items.forEach(child => {
flattenedItems.push(child)
})
}
})