File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import { useTheme } from '@gravity-ui/uikit' ;
22
33import { cn } from '../../utils/cn' ;
4+ import { EMPTY_DATA_PLACEHOLDER } from '../../utils/constants' ;
45import { calculateProgressStatus , defaultFormatProgressValues } from '../../utils/progress' ;
56import type { FormatProgressViewerValues } from '../../utils/progress' ;
67import { isNumeric } from '../../utils/utils' ;
@@ -105,5 +106,5 @@ export function ProgressViewer({
105106 ) ;
106107 }
107108
108- return < div className = { ` ${ b ( { size} ) } ${ className } error` } > no data </ div > ;
109+ return < div className = { b ( { size, width } , className ) } > { EMPTY_DATA_PLACEHOLDER } </ div > ;
109110}
Original file line number Diff line number Diff line change @@ -208,15 +208,13 @@ export function getMemoryColumn<
208208 < MemoryViewer
209209 formatValues = { formatStorageValuesToGb }
210210 stats = { row . MemoryStats }
211- width = "full"
212211 />
213212 ) : (
214213 < ProgressViewer
215214 value = { row . MemoryUsed }
216215 capacity = { row . MemoryLimit }
217216 formatValues = { formatStorageValuesToGb }
218217 colorizeProgress = { true }
219- width = "full"
220218 />
221219 ) ;
222220 } ,
You can’t perform that action at this time.
0 commit comments