mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
18 lines
364 B
TypeScript
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;
|
|
}
|
|
}
|