Skip to content

Commit

Permalink
fix(RUP-390): Error en carga de componente
Browse files Browse the repository at this point in the history
  • Loading branch information
MarianoCampetella authored and negro89 committed Feb 29, 2024
1 parent 6d74cc7 commit d7043d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/modules/rup/components/core/rup.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' };
Expand Down

0 comments on commit d7043d0

Please sign in to comment.