Sengi-Windows-MacOS-Linux/src/app/components/floating-column/manage-account/manage-account.component.ts

36 lines
925 B
TypeScript
Raw Normal View History

2018-09-10 03:55:16 +02:00
import { Component, OnInit, Input } from '@angular/core';
import { faAt, faUserPlus } from "@fortawesome/free-solid-svg-icons";
import { faBell, faEnvelope, faUser, faStar } from "@fortawesome/free-regular-svg-icons";
2019-03-19 05:21:00 +01:00
2018-09-11 07:54:23 +02:00
import { AccountWrapper } from '../../../models/account.models';
2018-09-10 03:55:16 +02:00
@Component({
2019-01-28 06:46:37 +01:00
selector: 'app-manage-account',
templateUrl: './manage-account.component.html',
styleUrls: ['./manage-account.component.scss']
2018-09-10 03:55:16 +02:00
})
2018-09-22 06:22:51 +02:00
export class ManageAccountComponent implements OnInit {
2019-03-19 05:21:00 +01:00
faAt = faAt;
faBell = faBell;
faEnvelope = faEnvelope;
faUser = faUser;
faStar = faStar;
faUserPlus = faUserPlus;
2019-03-19 05:21:00 +01:00
subPanel = 'account';
hasNotifications = false;
hasMentions = false;
2019-01-28 06:46:37 +01:00
@Input() account: AccountWrapper;
2018-09-10 03:55:16 +02:00
constructor() { }
2019-01-30 04:33:49 +01:00
2019-03-23 21:34:46 +01:00
ngOnInit() {
2019-01-30 04:33:49 +01:00
}
loadSubPanel(subpanel: string): boolean {
this.subPanel = subpanel;
return false;
}
2018-09-10 03:55:16 +02:00
}