Commit 34e51915 by Archer Committed by GitHub

fix: collection ui (#5704)

parent 7cdb16c8
...@@ -66,7 +66,7 @@ export const useTableMultipleSelect = <T = any,>({ ...@@ -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 = () => { ...@@ -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')}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment