-
Notifications
You must be signed in to change notification settings - Fork 15
more dead code removal #2357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more dead code removal #2357
Changes from all commits
22aad24
27778ec
7f18619
3044c7e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,11 @@ export class DashboardRootComponent implements OnInit { | |
| text: 'global.experiment.title', | ||
| iconType: 'assignment', | ||
| }, | ||
| { | ||
| path: ['/featureflags'], | ||
| text: 'feature-flags.title.text', | ||
| iconType: 'toggle_on', | ||
| }, | ||
| { | ||
| path: ['/participants'], | ||
| text: 'global.experiment-user.title', | ||
|
|
@@ -36,15 +41,7 @@ export class DashboardRootComponent implements OnInit { | |
| }, | ||
| ]; | ||
|
|
||
| constructor( | ||
| @Inject(ENV) private environment: Environment, | ||
| private authService: AuthService, | ||
| private versionService: VersionService | ||
| ) { | ||
| if (this.environment.featureFlagNavToggle) { | ||
| this.addFeatureFlagsLink(); | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we still need the |
||
| } | ||
| } | ||
| constructor(private authService: AuthService, private versionService: VersionService) {} | ||
|
|
||
| logout() { | ||
| this.authService.setRedirectionUrl('/home'); | ||
|
|
@@ -54,12 +51,4 @@ export class DashboardRootComponent implements OnInit { | |
| async ngOnInit() { | ||
| this.serverVersion = 'v' + (await this.versionService.getVersion()); | ||
| } | ||
|
|
||
| addFeatureFlagsLink() { | ||
| this.routeLinks.splice(1, 0, { | ||
| path: ['/featureflags'], | ||
| text: 'feature-flags.title.text', | ||
| iconType: 'toggle_on', | ||
| }); | ||
| } | ||
| } | ||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both
inject()andprovideAppInitializer()are now unused and can be removed from the imports