Don't render custom nav when empty array (#657)

This commit is contained in:
Rijk van Zanten
2020-05-28 09:55:30 -04:00
committed by GitHub
parent 5331d29066
commit 8f98e6f611

View File

@@ -1,6 +1,6 @@
<template>
<v-list nav>
<template v-if="customNavItems">
<template v-if="customNavItems && customNavItems.length > 0">
<div :key="group.name" v-for="(group, index) in customNavItems">
<div class="group-name">{{ group.name }}</div>
<v-list-item