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 f78d4a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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 f78d4a4

Please sign in to comment.