mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-30 22:49:27 +02:00
removed admin password reset and user name field
This commit is contained in:
parent
97b267e7ae
commit
eb4da25d4e
23 changed files with 15 additions and 554 deletions
|
@ -22,7 +22,6 @@ import {
|
|||
|
||||
export type GlobalUserRow = {
|
||||
id: string;
|
||||
name: string | null;
|
||||
username: string;
|
||||
email: string | null;
|
||||
type: string;
|
||||
|
@ -242,7 +241,6 @@ export default function UsersTable({ users }: Props) {
|
|||
{t("userQuestionRemove", {
|
||||
selectedUser:
|
||||
selected?.email ||
|
||||
selected?.name ||
|
||||
selected?.username
|
||||
})}
|
||||
</p>
|
||||
|
@ -257,7 +255,7 @@ export default function UsersTable({ users }: Props) {
|
|||
buttonText={t("userDeleteConfirm")}
|
||||
onConfirm={async () => deleteUser(selected!.id)}
|
||||
string={
|
||||
selected.email || selected.name || selected.username
|
||||
selected.email || selected.username
|
||||
}
|
||||
title={t("userDeleteServer")}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue