File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/containers/Tenant/Diagnostics/Overview/TransferInfo Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import {Flex, Text} from '@gravity-ui/uikit';
33
44import { AsyncReplicationState } from '../../../../../components/AsyncReplicationState' ;
55import { YDBDefinitionList } from '../../../../../components/YDBDefinitionList/YDBDefinitionList' ;
6+ import { YqlHighlighter } from '../../../../../components/YqlHighlighter/YqlHighlighter' ;
67import type { TEvDescribeSchemeResult } from '../../../../../types/api/schema' ;
78import { getEntityName } from '../../../utils' ;
89
@@ -88,15 +89,10 @@ function prepareTransferItems(data: TEvDescribeSchemeResult) {
8889 content : < Text variant = "code-inline-2" > { dstPath } </ Text > ,
8990 } ) ;
9091
91- // TODO use true pre
9292 info . push ( {
9393 name : i18n ( 'transformLambda.label' ) ,
9494 copyText : transformLambda ,
95- content : (
96- < Text variant = "code-2" whiteSpace = "nowrap" >
97- < pre > { transformLambda } </ pre >
98- </ Text >
99- ) ,
95+ content : < YqlHighlighter > { transformLambda } </ YqlHighlighter > ,
10096 } ) ;
10197
10298 return info ;
You can’t perform that action at this time.
0 commit comments