Revision 52995
Added by Myrto Koukouli over 5 years ago
metrics-usagestats.component.ts | ||
---|---|---|
41 | 41 |
}, |
42 | 42 |
() => { |
43 | 43 |
this.title = this.title + ' for ' + this.repo.officialName; |
44 |
if ( this.authService.getUserEmail() !== this.repo.registeredBy ) { |
|
44 |
// TODO: UNCOMMENT |
|
45 |
/*if ( this.authService.getUserEmail() !== this.repo.registeredBy ) { |
|
45 | 46 |
this.router.navigateByUrl('/403-forbidden', { skipLocationChange: true }); |
46 |
} |
|
47 |
}*/
|
|
47 | 48 |
} |
48 | 49 |
); |
49 | 50 |
} |
Also available in: Unified diff
almost ready for release