diff --git a/src/components/ui/catalog-data.tsx b/src/components/ui/catalog-data.tsx index ee2c0a4..02f560a 100644 --- a/src/components/ui/catalog-data.tsx +++ b/src/components/ui/catalog-data.tsx @@ -103,8 +103,8 @@ export function CatalogData({ } if (catalogs?.velocity) { - data.push( - { + if (catalogs.velocity.heliocentric?.v !== undefined) { + data.push({ Parameter: "Heliocentric Velocity", Value: ( ), - }, - { + }); + } + + if (catalogs.velocity.local_group?.v !== undefined) { + data.push({ Parameter: "Local Group Velocity", Value: ( ), - }, - { + }); + } + + if (catalogs.velocity.cmb_old?.v !== undefined) { + data.push({ Parameter: "CMB (old) Velocity", Value: ( ), - }, - { + }); + } + + if (catalogs.velocity.cmb?.v !== undefined) { + data.push({ Parameter: "CMB Velocity", Value: ( ), - }, - ); + }); + } } return ;