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