File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -62,18 +62,9 @@ export default class Header extends Component<Signature> {
6262 get linksForAuthenticatedUser ( ) : { text : string ; route : string ; type : 'route' | 'link' } [ ] {
6363 const links : { text : string ; route : string ; type : 'route' | 'link' } [ ] = [
6464 { text : 'Catalog' , route : 'catalog' , type : 'route' } ,
65- { text : 'Badges' , route : 'badges' , type : 'route' } ,
6665 { text : 'Roadmap' , route : 'roadmap' , type : 'route' } ,
6766 ] ;
6867
69- if ( this . featureFlags . canSeeConceptsIndex ) {
70- links . push ( { text : 'Concepts' , route : 'concepts' , type : 'route' } ) ;
71- }
72-
73- if ( config . environment !== 'production' ) {
74- links . push ( { text : 'Demo' , route : 'demo' , type : 'route' } ) ;
75- }
76-
7768 if ( this . currentUser && this . currentUser . isAdmin ) {
7869 links . push ( { text : 'Admin' , route : this . adminPanelLink , type : 'link' } ) ;
7970 }
Original file line number Diff line number Diff line change @@ -14,10 +14,6 @@ export default class FeatureFlagsService extends Service {
1414 this . notifiedFeatureFlags = new Set ( ) ;
1515 }
1616
17- get canSeeConceptsIndex ( ) : boolean {
18- return Boolean ( this . currentUser && ( this . currentUser . isStaff || this . currentUser . isConceptAuthor ) ) ;
19- }
20-
2117 get currentUser ( ) : User | null {
2218 return this . authenticator . currentUser ;
2319 }
You can’t perform that action at this time.
0 commit comments