Skip to content

Commit

Permalink
fix(spdk) Hide the actual size on the volume detail page
Browse files Browse the repository at this point in the history
Signed-off-by: Siye Wang <siye@rancher.com>
  • Loading branch information
smallteeths authored and David Ko committed Jun 16, 2023
1 parent a900bf4 commit 26c115f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/volume/detail/VolumeInfo.js
Expand Up @@ -298,10 +298,10 @@ function VolumeInfo({ selectedVolume, snapshotModalState, engineImages, hosts, c
{/* {formatMib(selectedVolume.size)} */}
{volumeSizeEle()}
</div>
<div className={styles.row}>
{selectedVolume?.backendStoreDriver !== 'v2' && <div className={styles.row}>
<span className={styles.label}>Actual Size:</span>
{state ? formatMib(computeActualSize) : 'Unknown'}
</div>
</div>}
<div className={styles.row}>
<span className={styles.label}>Data Locality:</span>
{selectedVolume.dataLocality}
Expand Down

0 comments on commit 26c115f

Please sign in to comment.