Skip to content
page-ribbon.component.ts 654 B
Newer Older
wangqinghua's avatar
wangqinghua committed
import { Component, OnInit } from '@angular/core';
import { ProfileService } from './profile.service';
import { ProfileInfo } from './profile-info.model';

@Component({
    selector: 'jhi-page-ribbon',
    template: ``,
    styleUrls: [
        'page-ribbon.css'
    ]
})
export class PageRibbonComponent implements OnInit {

    profileInfo: ProfileInfo;
    ribbonEnv: string;

    constructor(private profileService: ProfileService) {}

    ngOnInit() {
        // this.profileService.getProfileInfo().then((profileInfo) => {
        //     this.profileInfo = profileInfo;
        //     this.ribbonEnv = profileInfo.ribbonEnv;
        // });
    }
}