Skip to content
Snippets Groups Projects

fix: Compartment is a number, should be a name

3 files
+ 13
12
Compare changes
  • Side-by-side
  • Inline
Files
3
import { DrawerHeading } from '@/shared/DrawerHeading';
import { useAppSelector } from '@/redux/hooks/useAppSelector';
import { searchedFromMapBioEntityElement } from '@/redux/bioEntity/bioEntity.selectors';
import { ZERO } from '@/constants/common';
import { searchedFromMapBioEntityElement } from '@/redux/bioEntity/bioEntity.selectors';
import { useAppSelector } from '@/redux/hooks/useAppSelector';
import { DrawerHeading } from '@/shared/DrawerHeading';
import { AnnotationItem } from './AnnotationItem';
import { AssociatedSubmap } from './AssociatedSubmap';
@@ -26,7 +26,7 @@ export const BioEntityDrawer = (): React.ReactNode => {
/>
<div className="flex flex-col gap-6 p-6">
<div className="text-sm font-normal">
Compartment: <b className="font-semibold">{bioEntityData.compartment}</b>
Compartment: <b className="font-semibold">{bioEntityData.compartmentName}</b>
</div>
{bioEntityData.fullName && (
<div className="text-sm font-normal">
Loading