Skip to content

Commit

Permalink
UI: VolumeInformation - Fix error when refreshing the page
Browse files Browse the repository at this point in the history
Fixes: #1977
  • Loading branch information
carlito-scality committed Nov 4, 2019
1 parent fa0dbcd commit 6d2fdcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/containers/VolumeInformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const VolumeInformation = props => {
SC => SC.metadata.name === volume?.spec?.storageClassName,
);
const volumeStatus = computeVolumeGlobalStatus(
volume.metadata.name,
volume?.metadata?.name,
volume?.status,
);
const [errorCode, errorMessage] = volumeGetError(volume?.status);
Expand Down

0 comments on commit 6d2fdcc

Please sign in to comment.