Skip to content

Commit

Permalink
feat: add BAIPropertyFilter to Endpoint list
Browse files Browse the repository at this point in the history
  • Loading branch information
yomybaby committed Sep 4, 2024
1 parent 95093ee commit 5c373bf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion react/src/pages/EndpointListPage.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import BAIPropertyFilter from '../components/BAIPropertyFilter';
import EndpointOwnerInfo from '../components/EndpointOwnerInfo';
import EndpointStatusTag from '../components/EndpointStatusTag';
import Flex from '../components/Flex';
Expand Down Expand Up @@ -410,7 +411,7 @@ const EndpointListPage: React.FC<PropsWithChildren> = ({ children }) => {
paddingRight: token.paddingContentHorizontalSM,
}}
>
<Flex direction="column" align="start">
<Flex direction="row" gap={'sm'}>
<Radio.Group
value={selectedLifecycleStage}
onChange={(e) => {
Expand All @@ -434,6 +435,15 @@ const EndpointListPage: React.FC<PropsWithChildren> = ({ children }) => {
},
]}
/>
<BAIPropertyFilter
filterProperties={[
{
key: 'name',
type: 'string',
propertyLabel: t('modelService.EndpointName'),
},
]}
/>
</Flex>
<Flex direction="row" gap={'xs'} wrap="wrap" style={{ flexShrink: 1 }}>
<Flex gap={'xs'}>
Expand Down

0 comments on commit 5c373bf

Please sign in to comment.