diff --git a/kafka-ui-react-app/src/components/Schemas/Details/Details.tsx b/kafka-ui-react-app/src/components/Schemas/Details/Details.tsx index 2fc85812ef..9a79cbbf79 100644 --- a/kafka-ui-react-app/src/components/Schemas/Details/Details.tsx +++ b/kafka-ui-react-app/src/components/Schemas/Details/Details.tsx @@ -1,6 +1,10 @@ import React from 'react'; import { useHistory, useParams } from 'react-router'; -import { clusterSchemasPath, clusterSchemaEditPath } from 'lib/paths'; +import { + clusterSchemasPath, + clusterSchemaSchemaDiffPath, + clusterSchemaEditPath, +} from 'lib/paths'; import ClusterContext from 'components/contexts/ClusterContext'; import ConfirmationModal from 'components/common/ConfirmationModal/ConfirmationModal'; import PageLoader from 'components/common/PageLoader/PageLoader'; @@ -77,12 +81,22 @@ const Details: React.FC = () => { if (!isFetched || !schema) { return ; } - return ( <> {!isReadOnly && ( <> +