fix: collection ui (#5704)

This commit is contained in:
Archer
2025-09-25 15:12:53 +08:00
committed by GitHub
parent 7cdb16c816
commit 34e5191558
2 changed files with 5 additions and 1 deletions

View File

@@ -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"

View File

@@ -348,6 +348,10 @@ const ModelTable = () => {
</TableContainer>
<FloatingActionBar
activedStyles={{
borderRadius: 'md',
boxShadow: 'md'
}}
Controler={
<LazyCollaboratorProvider
selectedHint={t('account_model:model_permission_config_hint')}