matrix-dimension/web/app/riot/riot.component.ts
2017-12-23 18:47:41 -07:00

18 lines
364 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;
}
}