mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 23:46:52 +08:00
Fix: Fixed the issue of not being able to select the time zone in the user center. (#11298)
… user center. ### What problem does this PR solve? Fix: Fixed the issue of not being able to select the time zone in the user center. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -86,6 +86,9 @@ const Modal: ModalType = ({
|
||||
onOk?.();
|
||||
}, [onOk, onOpenChange]);
|
||||
const handleChange = (open: boolean) => {
|
||||
if (!open && !maskClosable) {
|
||||
return;
|
||||
}
|
||||
onOpenChange?.(open);
|
||||
console.log('open', open, onOpenChange);
|
||||
if (open && !disabled) {
|
||||
@ -185,6 +188,7 @@ const Modal: ModalType = ({
|
||||
<button
|
||||
type="button"
|
||||
className="flex h-7 w-7 items-center justify-center rounded-full hover:bg-muted focus-visible:outline-none"
|
||||
onClick={handleCancel}
|
||||
>
|
||||
{closeIcon}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user