Skip to content

Commit

Permalink
feat(@dpc-sdp/nuxt-ripple): add flag to disable primary nav search
Browse files Browse the repository at this point in the history
  • Loading branch information
David Featherston committed Aug 21, 2023
1 parent 35714df commit 89aa046
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/nuxt-ripple/components/TideBaseLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
:secondaryLogo="site?.siteLogo"
:items="site?.menus.menuMain || []"
:showQuickExit="site?.showQuickExit"
:showSearch="!featureFlags?.disablePrimaryNavSearch"
>
</RplPrimaryNav>
</slot>
Expand Down
4 changes: 4 additions & 0 deletions packages/ripple-tide-api/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ export interface IRplFeatureFlags {
* @description Option to disable the display of topics and tags on all content types
*/
disableTopicTags?: boolean
/**
* @description Option to disable the display of the search form within the primary navigation
*/
disablePrimaryNavSearch?: boolean
/**
* @description Option to disable the display of coloured/rainbow stripes on top of promo cards
*/
Expand Down

0 comments on commit 89aa046

Please sign in to comment.