daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ngOnInit() {
  2.     this.createForm();
  3.     this.tipoIdentifacion$ = this._selects.getTipodeId();
  4.     const url = `${ AppConfig.API_DOMAIN }:${ AppConfig.PORT }/${ ConfigAdmin.ZONE_PREFIX }/company/${ AppConfig.COMPANY_ID }/politic/current`;
  5.     this._currentPolitic.getCurrentPolitic(url)
  6.       .subscribe(data => {
  7.         this.idPolitic = data.id;
  8.         this.idFilePolitic = data.fileId;
  9.       }, err => {
  10.         this.textButton = 'GUARDAR';
  11.         this.form.disable();
  12.         console.error('No es posible recuperar la polĂ­tica activa');
  13.       });
  14.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top