feat(ui): show user name
This commit is contained in:
parent
b853ceb0cb
commit
01d38786ec
2 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,8 @@ export function initState(): ICoreState {
|
|||
paneNames: Set<string>(["settings", "login", "admin"]),
|
||||
},
|
||||
login: {
|
||||
userID: "",
|
||||
userName: "",
|
||||
userRole: "",
|
||||
authed: false,
|
||||
captchaID: "",
|
||||
|
|
|
@ -5,6 +5,8 @@ import { updater } from "./state_updater";
|
|||
import { alertMsg } from "../common/env";
|
||||
|
||||
export interface LoginProps {
|
||||
userID: string;
|
||||
userName: string;
|
||||
userRole: string;
|
||||
authed: boolean;
|
||||
captchaID: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue