diff --git a/client/src/app/components/genes/my-gene-info/my-gene-info.component.html b/client/src/app/components/genes/my-gene-info/my-gene-info.component.html index 29fdf53e7..b4000728f 100644 --- a/client/src/app/components/genes/my-gene-info/my-gene-info.component.html +++ b/client/src/app/components/genes/my-gene-info/my-gene-info.component.html @@ -25,7 +25,23 @@ {{ info.symbol }} (ID: {{ info._id }}) - {{ info.uniprot['Swiss-Prot'] }} + @if ( + info.uniprot['Swiss-Prot'] && info.uniprot['Swiss-Prot'].trim() + ) { + + {{ info.uniprot['Swiss-Prot'] }} + + } @else { + N/A + } - @@ -52,12 +68,20 @@ {{ info.alias.join(', ') }} -

+

{{ info.interproList.join(', ') }}

-

+

{{ info.pathwayList.join(', ') }}

diff --git a/client/src/app/components/genes/my-gene-info/my-gene-info.module.ts b/client/src/app/components/genes/my-gene-info/my-gene-info.module.ts index 1e9fb2e78..754f9d29e 100644 --- a/client/src/app/components/genes/my-gene-info/my-gene-info.module.ts +++ b/client/src/app/components/genes/my-gene-info/my-gene-info.module.ts @@ -7,6 +7,7 @@ import { NzGridModule } from 'ng-zorro-antd/grid' import { NzTableModule } from 'ng-zorro-antd/table' import { NzTypographyModule } from 'ng-zorro-antd/typography' import { NzDescriptionsModule } from 'ng-zorro-antd/descriptions' +import { CvcLinkTagModule } from '@app/components/shared/link-tag/link-tag.module' @NgModule({ declarations: [CvcMyGeneInfoComponent], @@ -19,6 +20,7 @@ import { NzDescriptionsModule } from 'ng-zorro-antd/descriptions' NzTableModule, NzTypographyModule, NzDescriptionsModule, + CvcLinkTagModule, ], exports: [CvcMyGeneInfoComponent], })