mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 17:16:52 +08:00
Fix: Can not select LLM in memory page (#12219)
### What problem does this PR solve? Fix: Can not select LLM in memory page ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -31,6 +31,7 @@ export interface ModalProps {
|
||||
cancelButtonClassName?: string;
|
||||
disabled?: boolean;
|
||||
style?: React.CSSProperties;
|
||||
zIndex?: number;
|
||||
}
|
||||
export interface ModalType extends FC<ModalProps> {
|
||||
show: typeof modalIns.show;
|
||||
@ -63,6 +64,7 @@ const Modal: ModalType = ({
|
||||
cancelButtonClassName,
|
||||
disabled = false,
|
||||
style,
|
||||
zIndex = 50,
|
||||
}) => {
|
||||
const sizeClasses = {
|
||||
small: 'max-w-md',
|
||||
@ -172,6 +174,7 @@ const Modal: ModalType = ({
|
||||
<DialogPrimitive.Overlay
|
||||
className="fixed inset-0 z-[1000] bg-bg-card backdrop-blur-[1px] flex items-center justify-center p-4"
|
||||
onClick={() => maskClosable && onOpenChange?.(false)}
|
||||
style={{ zIndex: zIndex }}
|
||||
>
|
||||
<DialogPrimitive.Content
|
||||
className={cn(
|
||||
|
||||
@ -102,6 +102,7 @@ export const useShowDeleteConfirm = () => {
|
||||
style: {
|
||||
width: '450px',
|
||||
},
|
||||
zIndex: 1000,
|
||||
okButtonClassName:
|
||||
'bg-state-error text-white hover:bg-state-error hover:text-white',
|
||||
onOk: async () => {
|
||||
|
||||
Reference in New Issue
Block a user