Skip to content
Merged
Changes from all commits
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
20 changes: 10 additions & 10 deletions frontend/src/components/Schemas/Details/Details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ const Details: React.FC = () => {
backText="Schema Registry"
backTo={clusterSchemasPath(clusterName)}
>
<Button
buttonSize="M"
buttonType="primary"
to={{
pathname: clusterSchemaSchemaComparePageRelativePath,
search: `leftVersion=${versions[0]?.version}&rightVersion=${versions[0]?.version}`,
}}
>
Compare Versions
</Button>
{!isReadOnly && (
<>
<Button
buttonSize="M"
buttonType="primary"
to={{
pathname: clusterSchemaSchemaComparePageRelativePath,
search: `leftVersion=${versions[0]?.version}&rightVersion=${versions[0]?.version}`,
}}
>
Compare Versions
</Button>
<ActionButton
buttonSize="M"
buttonType="primary"
Expand Down
Loading