From 439b28b8950b3acd34d415ecca2476647cc226f1 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Fri, 20 Nov 2020 20:56:59 +0800
Subject: ...

---
 FrontEnd/src/app/views/admin/UserAdmin.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'FrontEnd/src/app/views/admin/UserAdmin.tsx')

diff --git a/FrontEnd/src/app/views/admin/UserAdmin.tsx b/FrontEnd/src/app/views/admin/UserAdmin.tsx
index 3cfd5880..948cbb25 100644
--- a/FrontEnd/src/app/views/admin/UserAdmin.tsx
+++ b/FrontEnd/src/app/views/admin/UserAdmin.tsx
@@ -34,7 +34,7 @@ const CreateUserDialog: React.FC<DialogProps<undefined, HttpUser>> = ({
   return (
     <OperationDialog
       title="admin:user.dialog.create.title"
-      titleColor="create"
+      themeColor="success"
       inputPrompt="admin:user.dialog.create.prompt"
       inputScheme={
         [
@@ -71,7 +71,7 @@ const UserDeleteDialog: React.FC<DialogProps<
       open={open}
       close={close}
       title="admin:user.dialog.delete.title"
-      titleColor="dangerous"
+      themeColor="danger"
       inputPrompt={() => (
         <Trans i18nKey="admin:user.dialog.delete.prompt">
           0<UsernameLabel>{username}</UsernameLabel>2
@@ -94,7 +94,7 @@ const UserModifyDialog: React.FC<DialogProps<
       open={open}
       close={close}
       title="admin:user.dialog.modify.title"
-      titleColor="dangerous"
+      themeColor="danger"
       inputPrompt={() => (
         <Trans i18nKey="admin:user.dialog.modify.prompt">
           0<UsernameLabel>{oldUser.username}</UsernameLabel>2
@@ -147,7 +147,7 @@ const UserPermissionModifyDialog: React.FC<DialogProps<
       open={open}
       close={close}
       title="admin:user.dialog.modifyPermissions.title"
-      titleColor="dangerous"
+      themeColor="danger"
       inputPrompt={() => (
         <Trans i18nKey="admin:user.dialog.modifyPermissions.prompt">
           0<UsernameLabel>{username}</UsernameLabel>2
-- 
cgit v1.2.3

