Skip to content

Commit

Permalink
Remove "Generate tabs for items other than folders" field from
Browse files Browse the repository at this point in the history
navigation control panel

The help for this field says:

"By default, any content item in the root of the portal will appear as a
tab. If you turn this option off, only folders will be shown. This only
has an effect if 'automatically generate tabs' is enabled."

This doesn't make sense in Volto. Volto doesn't display item as tab
  • Loading branch information
wesleybl committed Sep 4, 2024
1 parent 41da257 commit ff11b98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/volto/news/6278.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove `Generate tabs for items other than folders` field from navigation control panel. @wesleybl
1 change: 1 addition & 0 deletions packages/volto/src/config/ControlPanels.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export const unwantedControlPanelsFields = {
navigation: [
'generate_tabs',
'navigation_depth',
'nonfolderish_tabs',
'sort_tabs_on',
'sort_tabs_reversed',
'sitemap_depth',
Expand Down
1 change: 1 addition & 0 deletions packages/volto/src/config/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ test('test navigation controlpanel fields', () => {
const not_in_navigation = [
'generate_tabs',
'navigation_depth',
'nonfolderish_tabs',
'sort_tabs_on',
'sort_tabs_reversed',
'sitemap_depth',
Expand Down

0 comments on commit ff11b98

Please sign in to comment.