2017-12-15 01:41:56 -05:00
|
|
|
import { Component } from "@angular/core";
|
2017-12-23 20:47:41 -05:00
|
|
|
import { SessionStorage } from "../shared/SessionStorage";
|
2017-12-14 23:25:15 -05:00
|
|
|
|
2017-05-27 03:27:36 -04:00
|
|
|
@Component({
|
2021-12-01 14:43:22 -05:00
|
|
|
selector: "my-element",
|
|
|
|
templateUrl: "./element.component.html",
|
|
|
|
styleUrls: ["./element.component.scss"],
|
2017-05-27 03:27:36 -04:00
|
|
|
})
|
2021-12-01 14:43:22 -05:00
|
|
|
export class ElementComponent {
|
2021-09-01 19:01:01 -04:00
|
|
|
constructor() {}
|
2017-12-23 20:47:41 -05:00
|
|
|
|
|
|
|
public isAdmin(): boolean {
|
|
|
|
return SessionStorage.isAdmin;
|
|
|
|
}
|
2017-05-27 03:27:36 -04:00
|
|
|
}
|