mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-31 13:03:49 +08:00
Fix: dataset page enter key to save (#13035)
### What problem does this PR solve? Fix dataset page enter key to save Fix the warnings and optimize the code. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -4,6 +4,7 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
|
||||
import { Loader, X } from 'lucide-react';
|
||||
import { FC, ReactNode, useCallback, useEffect, useMemo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { DialogDescription } from '../dialog';
|
||||
import { createPortalModal } from './modal-manage';
|
||||
|
||||
export interface ModalProps {
|
||||
@@ -184,6 +185,7 @@ const Modal: ModalType = ({
|
||||
style={style}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
<DialogDescription></DialogDescription>
|
||||
{/* title */}
|
||||
{title && (
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user