Asymmetrik/mean2-starter

View on GitHub
src/client/app/teams/list-team-members.component.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function updateRole has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    updateRole(member: TeamMember, role: string) {
        // No update required
        if (member.role === role) {
            return;
        }
Severity: Minor
Found in src/client/app/teams/list-team-members.component.ts - About 1 hr to fix

    Function ngOnInit has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        ngOnInit() {
            this.alertService.clearAllAlerts();
    
            this.user = this.authService.getCurrentUser();
    
    
    Severity: Minor
    Found in src/client/app/teams/list-team-members.component.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status