argos/dmp-admin/src/app/main-window/main-window.component.ts

32 lines
588 B
TypeScript

import { Component, OnInit, Input } from '@angular/core';
import { TokenService } from '../services/login/token.service';
@Component({
selector: 'main-window',
templateUrl: './main-window.component.html',
styleUrls: ['../../assets/simple-sidebar.css', './main-window.component.css']
})
export class MainWindowComponent implements OnInit {
constructor(public tokenService : TokenService) {
}
//@Input() loggedInAs;
showSidebar : boolean = true;
currentlySelected : string = "";
ngOnInit() {
}
setActive(val) {
this.currentlySelected = val;
}
}