We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96e1f1e commit 17f917eCopy full SHA for 17f917e
1 file changed
react/src/pages/EndpointDetailPage.tsx
@@ -561,7 +561,7 @@ const EndpointDetailPage: React.FC<EndpointDetailPageProps> = () => {
561
children: (
562
<BAIFlex direction="column" align="start">
563
{_.map(endpoint?.extra_mounts, (vfolder) => {
564
- return (
+ return vfolder ? (
565
<Typography.Link
566
onClick={() => {
567
vfolder?.row_id && open(vfolder?.row_id);
@@ -572,7 +572,7 @@ const EndpointDetailPage: React.FC<EndpointDetailPageProps> = () => {
572
{vfolder?.name}
573
</BAIFlex>
574
</Typography.Link>
575
- );
+ ) : null;
576
})}
577
578
),
0 commit comments