can set global value to rules
This commit is contained in:
@@ -24,7 +24,7 @@ import FileDownloadIcon from "@mui/icons-material/FileDownload";
|
||||
import FileUploadIcon from "@mui/icons-material/FileUpload";
|
||||
|
||||
function RuleFields({ rule, rules, setShow }) {
|
||||
const initFormValues = rule || DEFAULT_RULE;
|
||||
const initFormValues = rule || { ...DEFAULT_RULE, transOpen: "true" };
|
||||
const editMode = !!rule;
|
||||
|
||||
const i18n = useI18n();
|
||||
|
||||
Reference in New Issue
Block a user