Skip to content

Commit 7bd2262

Browse files
fix(VDiskInfo): fix title layout (#1561)
1 parent 5cc1bac commit 7bd2262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/VDiskInfo/VDiskInfo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {getSeverityColor} from '../../utils/disks/helpers';
1010
import type {PreparedVDisk} from '../../utils/disks/types';
1111
import {useTypedSelector} from '../../utils/hooks';
1212
import {bytesToSpeed} from '../../utils/utils';
13-
import {EntityStatus} from '../EntityStatus/EntityStatus';
1413
import {InfoViewer} from '../InfoViewer';
1514
import type {InfoViewerProps} from '../InfoViewer/InfoViewer';
1615
import {LinkWithIcon} from '../LinkWithIcon/LinkWithIcon';
@@ -202,7 +201,8 @@ function VDiskTitle<T extends PreparedVDisk>({data}: VDiskTitleProps<T>) {
202201
return (
203202
<div className={b('title')}>
204203
{vDiskInfoKeyset('vdiks-title')}
205-
<EntityStatus status={getSeverityColor(data.Severity)} name={data.StringifiedId} />
204+
<StatusIcon status={getSeverityColor(data.Severity)} />
205+
{data.StringifiedId}
206206
</div>
207207
);
208208
}

0 commit comments

Comments
 (0)