Project

General

Profile

« Previous | Next » 

Revision 51512

changed piwik enable and approve methods

View differences:

topmenu.component.ts
47 47
  }
48 48

  
49 49
  isUserAdmin() {
50
    /* ACTUAL ADMINS WILL HAVE A ROLE OF 'ROLE_ADMIN' */
51
    return this.authService.getUserRole().includes('ROLE_USER');
50
    return this.authService.getUserRole().includes('ROLE_ADMIN');
52 51
  }
53 52
}

Also available in: Unified diff