feat: hide nav labels with no un-grouped collections
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user