app-public-view: add Audit Logs tab
This commit is contained in:
parent
6b54279bb7
commit
f4f67c8c62
2 changed files with 16 additions and 3 deletions
|
@ -11,6 +11,7 @@ import { Input, Component, Inject } from 'ng-metadata/core';
|
|||
export class AppPublicViewComponent {
|
||||
@Input('<') public repository: any;
|
||||
private settingsShown: number = 0;
|
||||
private logsShown: number = 0;
|
||||
|
||||
constructor(@Inject('Config') private Config: any) {
|
||||
this.updateDescription = this.updateDescription.bind(this);
|
||||
|
@ -24,4 +25,8 @@ export class AppPublicViewComponent {
|
|||
public showSettings(): void {
|
||||
this.settingsShown++;
|
||||
}
|
||||
|
||||
public showLogs(): void {
|
||||
this.logsShown++;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue