Skip to content

feat: support custom order of agent metadata #12066

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
site: disable sorting
  • Loading branch information
mtojek committed Feb 8, 2024
commit 13296aead9d75bd45be67444ecc8a225d2f52cea
8 changes: 1 addition & 7 deletions site/src/modules/resources/AgentMetadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,7 @@ export const AgentMetadata: FC<AgentMetadataProps> = ({
);
}

return (
<AgentMetadataView
metadata={[...metadata].sort((a, b) =>
a.description.display_name.localeCompare(b.description.display_name),
)}
/>
);
return <AgentMetadataView metadata={metadata} />;
};

export const AgentMetadataSkeleton: FC = () => {
Expand Down