diff --git a/src/app/modules/rup/components/core/rup.component.ts b/src/app/modules/rup/components/core/rup.component.ts index d1d719a32e..12a1a1192a 100644 --- a/src/app/modules/rup/components/core/rup.component.ts +++ b/src/app/modules/rup/components/core/rup.component.ts @@ -80,7 +80,7 @@ export class RUPComponent implements OnInit, AfterViewInit, OnDestroy { private loadComponent() { if (!this.registro?.privacy) { setTimeout(() => { - if (this.registro && !this.registro.privacy) { + if (this.registro && !this.registro.privacy && this.params?.privacy) { this.registro.privacy = { scope: this.params.privacy }; } else { this.registro.privacy = { scope: 'public' };