ng-components-tsi 0.0.47 → 0.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ import { FormsModule, NgModel } from '@angular/forms';
7
7
  import { DomSanitizer } from '@angular/platform-browser';
8
8
  import * as i1$1 from '@ng-bootstrap/ng-bootstrap';
9
9
  import { NgbTooltipModule, NgbActiveModal, NgbDropdownModule, NgbDropdown, NgbNavModule, NgbModal } from '@ng-bootstrap/ng-bootstrap';
10
- import { validaArray, getFirstItem, beep, validarVacioAndNull, cleanNumber, obtenerTipoClases, validarBoolean, formatNumber } from 'shared-tsi';
10
+ import { validaArray, validarVacioAndNull, getFirstItem, beep, cleanNumber, obtenerTipoClases, validarBoolean, formatNumber } from 'shared-tsi';
11
11
  import { trigger, transition, style, animate, state } from '@angular/animations';
12
12
  import * as i1$3 from '@angular/cdk/overlay';
13
13
  import { OverlayModule } from '@angular/cdk/overlay';
@@ -332,7 +332,7 @@ class AlertConfirmationComponent {
332
332
  return;
333
333
  if (!validaArray(this.opcionesFormateadas()))
334
334
  return;
335
- if (this.selectedOption())
335
+ if (validarVacioAndNull(this.selectedOption()))
336
336
  return;
337
337
  const first = getFirstItem(this.opcionesFormateadas());
338
338
  this.selectedOption.set(first.codigo);