Skip to content

Commit

Permalink
fix(select-organizacion): para conexion lenta
Browse files Browse the repository at this point in the history
  • Loading branch information
Pancho authored and kroce committed Jul 7, 2020
1 parent 1cc24d4 commit 7725417
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { take } from 'rxjs/operators';
})
export class SelectOrganizacionComponent implements OnInit {
public organizaciones = null;
public tieneOrg = true;
public organizacionElegida;
public showModalDisclaimer = false;
constructor(
Expand All @@ -36,6 +37,8 @@ export class SelectOrganizacionComponent implements OnInit {
if (this.organizaciones.length === 1) {
this.seleccionar(this.organizaciones[0]);
}
} else {
this.tieneOrg = false;
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</li>
</ul>
<div class="label">
<plex-label *ngIf="!organizaciones" icon="information-variant" type="default" size="xl" direction="column"
<plex-label *ngIf="!tieneOrg" icon="information-variant" type="default" size="xl" direction="column"
titulo="Usted no tiene permisos para acceder a ninguna organización."
subtitulo="Por favor pongase en contacto con el informático local o coordinador de área">
</plex-label>
Expand Down

0 comments on commit 7725417

Please sign in to comment.