mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-13 07:15:39 +01:00
Finish work on sidebar
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { AutoUnsubscribe } from 'ngx-auto-unsubscribe-decorator';
|
||||
import { Permission, Permissions } from 'picsur-shared/dist/dto/permissions';
|
||||
@@ -17,6 +17,9 @@ import { UtilService } from 'src/app/util/util.service';
|
||||
export class HeaderComponent implements OnInit {
|
||||
private readonly logger = console;
|
||||
|
||||
@Input('enableHamburger') enableHamburger: boolean = false;
|
||||
@Output('onHamburgerClick') onHamburgerClick = new EventEmitter<void>();
|
||||
|
||||
private currentUser: EUser | null = null;
|
||||
private permissions: Permissions = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user