Skip to content

Commit a5c6778

Browse files
committed
fix(FR-2651): list all model-store folders when creating a model card
1 parent ea3b5e4 commit a5c6778

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

react/src/components/AdminModelCardSettingModal.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,10 @@ const AdminModelCardSettingModal: React.FC<AdminModelCardSettingModalProps> = ({
347347
<BAIVFolderSelect
348348
ref={vfolderSelectRef}
349349
excludeDeleted
350-
currentProjectId={currentProject.id ?? undefined}
351-
filter={mergeFilterValues(['ownership_type == "group"'])}
350+
filter={mergeFilterValues([
351+
'ownership_type == "group"',
352+
'usage_mode == "model"',
353+
])}
352354
style={{ flex: 1 }}
353355
/>
354356
</Form.Item>

0 commit comments

Comments
 (0)