-
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
Conversation
…gs no longer needs a toggle, key-value bubble is just a custom clunky debugger thing that has gone unused
| private versionService: VersionService | ||
| ) { | ||
| if (this.environment.featureFlagNavToggle) { | ||
| this.addFeatureFlagsLink(); |
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.
Do we still need the addFeatureFlagsLink() method? Doesn't look like it was called from anywhere else?
| providers: [ | ||
| { provide: ENV, useValue: environment }, | ||
| provideAppInitializer(() => { | ||
| const initializerFn = getEnvironmentConfig(inject(HttpClient), inject(ENV)); |
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() and provideAppInitializer() are now unused and can be removed from the imports
bcb37
left a comment
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.
Just a couple nits.
environment.json setup replaced by new infrastructure setup, feature-flags is permanent now so no longer needs a frontend toggle, key-value bubble is just a custom clunky debugger thing that has gone unused.