Skip to content

Commit 34e5191

Browse files
authored
fix: collection ui (#5704)
1 parent 7cdb16c commit 34e5191

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/web/hooks/useTableMultipleSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const useTableMultipleSelect = <T = any,>({
6666
activedStyles,
6767
...props
6868
}: { children?: ReactNode; activedStyles?: FlexProps; Controler: ReactNode } & FlexProps) => {
69-
return hasSelections ? (
69+
return hasSelections || !!children ? (
7070
<Flex
7171
w={'100%'}
7272
bg="white"

projects/app/src/components/core/ai/ModelTable/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,10 @@ const ModelTable = () => {
348348
</TableContainer>
349349

350350
<FloatingActionBar
351+
activedStyles={{
352+
borderRadius: 'md',
353+
boxShadow: 'md'
354+
}}
351355
Controler={
352356
<LazyCollaboratorProvider
353357
selectedHint={t('account_model:model_permission_config_hint')}

0 commit comments

Comments
 (0)