Skip to content

Commit

Permalink
chore: minor fix for styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-efremoff committed Dec 25, 2024
1 parent 546356b commit be970fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/ui/src/ui/pages/job/tabs/Statistics/Statistics.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
import * as React from 'react';
import {useSelector} from 'react-redux';
import cn from 'bem-cn-lite';

import {getRawStatistic} from '../../../../store/selectors/job/statistics';
import {StatisticTable, StatisticTree} from '../../../../components/StatisticTable';
import {isDocsAllowed} from '../../../../config';
import UIFactory from '../../../../UIFactory';

import './Statistics.scss';

const block = cn('yt-job-statistics');

export default function Statistics() {
const statistic = useSelector(getRawStatistic);
return (
<StatisticTable
className={block()}
helpUrl={isDocsAllowed() ? UIFactory.docsUrls['problems:jobstatistics'] : undefined}
statistic={statistic as unknown as StatisticTree}
visibleColumns={['min', 'max', 'last', 'sum', 'count']}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.operation-statistics {
margin-bottom: 50px;

&__group-icon,
&__group-icon-toggler,
&__metric-icon {
Expand Down

0 comments on commit be970fc

Please sign in to comment.