From 5c1cad30c608b279502ab8fd641b0b95066b6808 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 20 Nov 2020 20:56:59 +0800 Subject: ... --- FrontEnd/src/app/views/common/OperationDialog.tsx | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'FrontEnd/src/app/views/common') diff --git a/FrontEnd/src/app/views/common/OperationDialog.tsx b/FrontEnd/src/app/views/common/OperationDialog.tsx index bca5cb87..77ed851f 100644 --- a/FrontEnd/src/app/views/common/OperationDialog.tsx +++ b/FrontEnd/src/app/views/common/OperationDialog.tsx @@ -99,7 +99,7 @@ export interface OperationDialogProps< open: boolean; close: () => void; title: I18nText | (() => React.ReactNode); - titleColor?: "default" | "dangerous" | "create" | string; + themeColor?: "danger" | "success" | string; onProcess: ( inputs: MapOperationInputInfoValueTypeList ) => Promise; @@ -313,7 +313,7 @@ const OperationDialog = < {t("operationDialog.cancel")} { @@ -362,14 +362,7 @@ const OperationDialog = < {title} -- cgit v1.2.3