Skip to content

Commit

Permalink
Fix owner and transport missing
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Wang <[email protected]>
  • Loading branch information
wanglam committed Jan 3, 2025
1 parent 42d76cd commit a2531e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/components/model_version/model_version.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export const ModelVersion = () => {
modelVersionId={modelVersionData?.id}
createdTime={modelVersionData?.created_time}
lastUpdatedTime={modelVersionData?.last_updated_time}
owner={modelData?.owner.name}
owner={modelData?.owner?.name}
/>
)}
<EuiSpacer size="m" />
Expand Down
2 changes: 1 addition & 1 deletion server/services/model_aggregate_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class ModelAggregateService {
});
const modelIds = models.map(({ id }) => id);
const { data: deployedModels } = await ModelVersionService.search({
client,
transport: client.asCurrentUser.transport,
from: 0,
size: MAX_MODEL_BUCKET_NUM,
modelIds,
Expand Down

0 comments on commit a2531e8

Please sign in to comment.