@sumaris-net/ngx-components 2.2.1-rc14 → 2.2.1-rc15

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.
@@ -4724,7 +4724,7 @@ class AppFormArray extends UntypedFormArray {
4724
4724
  }
4725
4725
  removeAt(index, options) {
4726
4726
  // Do not remove if last criterion
4727
- if (this.options.allowEmptyArray === false && this.length === 1) {
4727
+ if (this.options.allowEmptyArray === false && this.isLast(index)) {
4728
4728
  this.clearAt(index, options);
4729
4729
  }
4730
4730
  else {
@@ -28809,7 +28809,7 @@ class AbstractUserEventService extends BaseGraphqlService {
28809
28809
  }
28810
28810
  async ngOnStart() {
28811
28811
  // Update component when refresh is need (=login events)
28812
- this._subscriptions.add(merge(this.accountService.onLogin, this.accountService.onLogout, timer(500) // Starts with - first attempt if account is ready
28812
+ this._subscriptions.add(merge(this.accountService.onLogin, this.accountService.onLogout, timer(1000) // Starts with - first attempt if account is ready
28813
28813
  )
28814
28814
  .pipe(
28815
28815
  // Wait account service ready (can be restarted)