File tree Expand file tree Collapse file tree
src/app/modules/rup/components/elementos Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export class MoleculaBaseComponent extends RUPComponent implements OnInit {
1111 public contentLoaded = false ;
1212 public ultimaConsulta ;
1313 public validacion = false ;
14+ mostrarTituloSubmolecula = false ;
1415 public estados = [
1516 { id : 'resuelto' , nombre : 'Resuelto' } ,
1617 { id : 'activo' , nombre : 'Activo' }
@@ -19,6 +20,10 @@ export class MoleculaBaseComponent extends RUPComponent implements OnInit {
1920 public evoluciones ;
2021
2122 ngOnInit ( ) {
23+ if ( this . params ?. mostrarTituloSubmolecula ) {
24+ }
25+
26+ this . mostrarTituloSubmolecula = this . params ?. mostrarTituloSubmolecula || false ;
2227 if ( this . registro . concepto . semanticTag === 'trastorno' ) {
2328 if ( ! this . registro . valor ) {
2429 this . registro . valor = { estado : 'activo' } ;
Original file line number Diff line number Diff line change 1+ < div *ngIf ="mostrarTituloSubmolecula " class ="rup-submolecula-titulo mb-2 ">
2+ < plex-title [titulo] ="registro.nombre || registro.concepto.term " size ="sm " [tituloBold] ="true "> </ plex-title >
3+ </ div >
14< ng-container *ngIf ="registro.concepto.semanticTag === 'trastorno' ">
25 < form #form ="ngForm " *ngIf ="paciente ">
36 < div *ngIf ="elementoRUP && registro ">
You can’t perform that action at this time.
0 commit comments