diff --git a/src/app/modules/rup/components/elementos/moleculaBase.component.ts b/src/app/modules/rup/components/elementos/moleculaBase.component.ts index 031d020615..64da71a9ec 100644 --- a/src/app/modules/rup/components/elementos/moleculaBase.component.ts +++ b/src/app/modules/rup/components/elementos/moleculaBase.component.ts @@ -11,6 +11,7 @@ export class MoleculaBaseComponent extends RUPComponent implements OnInit { public contentLoaded = false; public ultimaConsulta; public validacion = false; + mostrarTituloSubmolecula = false; public estados = [ { id: 'resuelto', nombre: 'Resuelto' }, { id: 'activo', nombre: 'Activo' } @@ -19,6 +20,10 @@ export class MoleculaBaseComponent extends RUPComponent implements OnInit { public evoluciones; ngOnInit() { + if (this.params?.mostrarTituloSubmolecula) { + } + + this.mostrarTituloSubmolecula = this.params?.mostrarTituloSubmolecula || false; if (this.registro.concepto.semanticTag === 'trastorno') { if (!this.registro.valor) { this.registro.valor = { estado: 'activo' }; diff --git a/src/app/modules/rup/components/elementos/moleculaBase.html b/src/app/modules/rup/components/elementos/moleculaBase.html index e2417ceb81..c1bfacb53c 100644 --- a/src/app/modules/rup/components/elementos/moleculaBase.html +++ b/src/app/modules/rup/components/elementos/moleculaBase.html @@ -1,3 +1,7 @@ +