From c3be727bd4e41703ca9b43ceebbc141d06ed5096 Mon Sep 17 00:00:00 2001 From: Sny Date: Tue, 15 Oct 2024 16:16:02 +0530 Subject: [PATCH] Errbit | fixing versions table --- src/components/repos/VersionsTable.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/repos/VersionsTable.jsx b/src/components/repos/VersionsTable.jsx index 66bc7524..389e8b99 100644 --- a/src/components/repos/VersionsTable.jsx +++ b/src/components/repos/VersionsTable.jsx @@ -144,7 +144,7 @@ const VersionsTable = ({ selected, versions, onChange, bgColor, checkbox, disabl { versions?.map(version => { - const isSelected = version.version_url == (selected.version_url || selected.url) + const isSelected = version?.version_url == (selected?.version_url || selected?.url) const disabled = isDisabled(version) const bodyCellStyle = getBodyCellStyle(isSelected, disabled) return ( @@ -168,7 +168,7 @@ const VersionsTable = ({ selected, versions, onChange, bgColor, checkbox, disabl { checked?.length == 2 && -