src/app/ui/components/install-button/install-button.component.ts
Function updateButtonAppearance
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private updateButtonAppearance(): void {
switch (this.applicationStatus) {
case ApplicationStatus.NOT_INSTALLED:
this.buttonStatus = 'success';
this.buttonText = this.getInstallButtonText();