navbar.component.ts.save 564 Bytes
Newer Older
Open Source Developer's avatar
UI    
Open Source Developer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import {Component} from '@angular/core';
import {GlobalEventsManager} from "../../services/login-service";

@Component({
  selector: 'reg-navbar',
  templateUrl: 'navbar.component.html',
})
export default class NavbarComponent {

	showNavBar: boolean = false;

    constructor(private globalEventsManager: GlobalEventsManager) { 
        this.globalEventsManager.showNavBarEmitter.subscribe((mode)=>{
           if (mode !== null) {
              this.showNavBar = mode;
            }
        });
        
    }

}
>>>>>>> 830874b9f9533be54e9e43e3c3229884b3eeb119