File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,12 @@ export default function Menu() {
97
97
// Hide most of the top menu when in a full-page form.
98
98
const isMinimalUI = inResource ( location . pathname , [ "new" , "teams/new" , "open" ] ) ;
99
99
const isWorkspacesUI = inResource ( location . pathname , [ "workspaces" ] ) ;
100
- const isAccountUI = inResource ( location . pathname , [
100
+ const isPersonalSettingsUI = inResource ( location . pathname , [
101
101
"account" ,
102
102
"notifications" ,
103
+ "billing" ,
104
+ "plans" ,
105
+ "teams" ,
103
106
"variables" ,
104
107
"keys" ,
105
108
"integrations" ,
@@ -244,7 +247,7 @@ export default function Menu() {
244
247
const onFeedbackFormClose = ( ) => {
245
248
setFeedbackFormVisible ( false ) ;
246
249
} ;
247
- const isTeamLevelActive = ! projectSlug && ! isWorkspacesUI && ! isAccountUI && ! isAdminUI && teamOrUserSlug ;
250
+ const isTeamLevelActive = ! projectSlug && ! isWorkspacesUI && ! isPersonalSettingsUI && ! isAdminUI && teamOrUserSlug ;
248
251
const renderTeamMenu = ( ) => {
249
252
if ( ! teams || teams . length === 0 ) {
250
253
return (
@@ -467,7 +470,7 @@ export default function Menu() {
467
470
</ div >
468
471
{ isFeedbackFormVisible && < FeedbackFormModal onClose = { onFeedbackFormClose } /> }
469
472
</ div >
470
- { ! isMinimalUI && ! prebuildId && ! isWorkspacesUI && ! isAccountUI && ! isAdminUI && (
473
+ { ! isMinimalUI && ! prebuildId && ! isWorkspacesUI && ! isPersonalSettingsUI && ! isAdminUI && (
471
474
< nav className = "flex" >
472
475
{ secondLevelMenu . map ( ( entry : Entry ) => (
473
476
< TabMenuItem
You can’t perform that action at this time.
0 commit comments