Skip to content

Commit 4399622

Browse files
Merge pull request #13481 from cyril-ui-developer/volsnapshots-creashed-pvc
OCPBUGS-26049: Tab VolumeSnapshots crashed on PVC page
2 parents d7e0175 + f3f2feb commit 4399622

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/packages/console-app/src/components/volume-snapshot/volume-snapshot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ const VolumeSnapshotPage: React.FC<VolumeSnapshotPageProps> = (props) => {
209209
};
210210

211211
const checkPVCSnapshot: CheckPVCSnapshot = (volumeSnapshots, pvc) =>
212-
volumeSnapshots.filter(
212+
volumeSnapshots?.filter(
213213
(snapshot) =>
214214
snapshot?.spec?.source?.persistentVolumeClaimName === getName(pvc) &&
215215
getNamespace(snapshot) === getNamespace(pvc),

0 commit comments

Comments
 (0)