Add input for hiding buttons
This commit is contained in:
parent
aea06f94af
commit
4638498a71
@ -9,7 +9,7 @@
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
<div class="buttons">
|
||||
<div class="buttons" *ngIf="showButtons">
|
||||
<button [ngClass]="{ flat: !isActive('dashboard') }"
|
||||
(click)="navigateTo('dashboard')">{{ strings['dashboard'] }}</button>
|
||||
<button [ngClass]="{ flat: !isActive('boards') }"
|
||||
|
@ -19,6 +19,9 @@ export class TopNavComponent {
|
||||
// tslint:disable-next-line
|
||||
@Input('page-name') pageName: string = '';
|
||||
|
||||
// tslint:disable-next-line
|
||||
@Input('show-buttons') showButtons: boolean = true;
|
||||
|
||||
version = '';
|
||||
username = '';
|
||||
|
||||
|
Reference in New Issue
Block a user