Skip to content

Commit e494c99

Browse files
authored
Merge branch 'main' into issues/498-be
2 parents d3f59c5 + 58c361f commit e494c99

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

frontend/src/components/Schemas/Details/Details.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,18 @@ const Details: React.FC = () => {
7676
backText="Schema Registry"
7777
backTo={clusterSchemasPath(clusterName)}
7878
>
79+
<Button
80+
buttonSize="M"
81+
buttonType="primary"
82+
to={{
83+
pathname: clusterSchemaSchemaComparePageRelativePath,
84+
search: `leftVersion=${versions[0]?.version}&rightVersion=${versions[0]?.version}`,
85+
}}
86+
>
87+
Compare Versions
88+
</Button>
7989
{!isReadOnly && (
8090
<>
81-
<Button
82-
buttonSize="M"
83-
buttonType="primary"
84-
to={{
85-
pathname: clusterSchemaSchemaComparePageRelativePath,
86-
search: `leftVersion=${versions[0]?.version}&rightVersion=${versions[0]?.version}`,
87-
}}
88-
>
89-
Compare Versions
90-
</Button>
9191
<ActionButton
9292
buttonSize="M"
9393
buttonType="primary"

0 commit comments

Comments
 (0)