mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-13 22:56:28 +00:00
fix: collection ui (#5704)
This commit is contained in:
@@ -66,7 +66,7 @@ export const useTableMultipleSelect = <T = any,>({
|
|||||||
activedStyles,
|
activedStyles,
|
||||||
...props
|
...props
|
||||||
}: { children?: ReactNode; activedStyles?: FlexProps; Controler: ReactNode } & FlexProps) => {
|
}: { children?: ReactNode; activedStyles?: FlexProps; Controler: ReactNode } & FlexProps) => {
|
||||||
return hasSelections ? (
|
return hasSelections || !!children ? (
|
||||||
<Flex
|
<Flex
|
||||||
w={'100%'}
|
w={'100%'}
|
||||||
bg="white"
|
bg="white"
|
||||||
|
@@ -348,6 +348,10 @@ const ModelTable = () => {
|
|||||||
</TableContainer>
|
</TableContainer>
|
||||||
|
|
||||||
<FloatingActionBar
|
<FloatingActionBar
|
||||||
|
activedStyles={{
|
||||||
|
borderRadius: 'md',
|
||||||
|
boxShadow: 'md'
|
||||||
|
}}
|
||||||
Controler={
|
Controler={
|
||||||
<LazyCollaboratorProvider
|
<LazyCollaboratorProvider
|
||||||
selectedHint={t('account_model:model_permission_config_hint')}
|
selectedHint={t('account_model:model_permission_config_hint')}
|
||||||
|
Reference in New Issue
Block a user