feat: hide nav labels with no un-grouped collections

This commit is contained in:
Dan Ribbens
2022-09-12 13:51:24 -04:00
parent 59af8725b4
commit c40e232ac6
4 changed files with 36 additions and 3 deletions

View File

@@ -48,8 +48,19 @@ export default buildConfig({
},
},
collections: [
{
slug: 'users',
admin: {
group: 'One',
},
auth: true,
fields: [],
},
{
slug,
admin: {
group: 'One',
},
fields: [
{
name: 'title',
@@ -113,6 +124,9 @@ export default buildConfig({
globals: [
{
slug: globalSlug,
admin: {
group: 'Group',
},
fields: [
{
name: 'title',