matrix-dimension/web/app/element/element.component.ts
2021-12-01 12:43:22 -07:00

16 lines
370 B
TypeScript

import { Component } from "@angular/core";
import { SessionStorage } from "../shared/SessionStorage";
@Component({
selector: "my-element",
templateUrl: "./element.component.html",
styleUrls: ["./element.component.scss"],
})
export class ElementComponent {
constructor() {}
public isAdmin(): boolean {
return SessionStorage.isAdmin;
}
}