mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
Collection tag (#2266)
* feat: collection metadata filter (#2211) * feat: add dataset collection tags (#2231) * dataset page * workflow page * move * fix * add plus filter * fix * fix * fix * perf: collection tag code * fix: collection tags (#2249) * fix * fix * fix tags of dataset page * fix tags of workflow page * doc * add comments * fix: collection tags (#2264) * fix: metadata filter * feat: search filter --------- Co-authored-by: heheer <1239331448@qq.com> Co-authored-by: heheer <heheer@sealos.io>
This commit is contained in:
@@ -21,6 +21,7 @@ export interface MyModalProps extends ModalContentProps {
|
||||
isLoading?: boolean;
|
||||
isOpen: boolean;
|
||||
onClose?: () => void;
|
||||
closeOnOverlayClick?: boolean;
|
||||
}
|
||||
|
||||
const MyModal = ({
|
||||
@@ -33,6 +34,7 @@ const MyModal = ({
|
||||
isLoading,
|
||||
w = 'auto',
|
||||
maxW = ['90vw', '600px'],
|
||||
closeOnOverlayClick = true,
|
||||
...props
|
||||
}: MyModalProps) => {
|
||||
const isPc = useSystem();
|
||||
@@ -44,6 +46,7 @@ const MyModal = ({
|
||||
autoFocus={false}
|
||||
isCentered={isPc ? isCentered : true}
|
||||
blockScrollOnMount={false}
|
||||
closeOnOverlayClick={closeOnOverlayClick}
|
||||
>
|
||||
<ModalOverlay />
|
||||
<ModalContent
|
||||
|
Reference in New Issue
Block a user