mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Don't render custom nav when empty array (#657)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user