matrix-dimension/web/app/element/element.component.ts

16 lines
370 B
TypeScript
Raw Normal View History

import { Component } from "@angular/core";
2017-12-23 20:47:41 -05:00
import { SessionStorage } from "../shared/SessionStorage";
@Component({
2021-12-01 14:43:22 -05:00
selector: "my-element",
templateUrl: "./element.component.html",
styleUrls: ["./element.component.scss"],
})
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;
}
}