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

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