matrix-dimension/web/app/riot/riot.component.ts
2021-09-02 01:29:24 +02:00

16 lines
358 B
TypeScript

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