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

16 lines
358 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-09-01 19:29:24 -04:00
selector: "my-riot",
2017-08-27 01:26:00 -04:00
templateUrl: "./riot.component.html",
styleUrls: ["./riot.component.scss"],
})
export class RiotComponent {
2021-09-01 19:01:01 -04:00
constructor() {}
2017-12-23 20:47:41 -05:00
public isAdmin(): boolean {
return SessionStorage.isAdmin;
}
}