@sumaris-net/ngx-components 1.23.68-alpha1 → 1.23.68

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.
@@ -2323,7 +2323,6 @@
2323
2323
  var pattern = args && args.pattern ||
2324
2324
  (args && args.time ? (args.seconds ? this.dateTimeSecondsPattern : this.dateTimePattern) : this.datePattern);
2325
2325
  // Keep original moment object, if possible (to avoid a conversion)
2326
- console.debug('DEBUG DATE PATERN TRANSFORM', pattern);
2327
2326
  var date = momentImported.isMoment(value) ? value : this.dateAdapter.parse(value, DATE_ISO_PATTERN);
2328
2327
  return date && this.dateAdapter.format(date, pattern) || '';
2329
2328
  };
@@ -2331,7 +2330,6 @@
2331
2330
  this.datePattern = this._getTranslationValue(translations, 'COMMON.DATE_PATTERN', 'DD/MM/YYYY');
2332
2331
  this.dateTimePattern = this._getTranslationValue(translations, 'COMMON.DATE_TIME_PATTERN', 'DD/MM/YYYY HH:mm');
2333
2332
  this.dateTimeSecondsPattern = this._getTranslationValue(translations, 'COMMON.DATE_TIME_SECONDS_PATTERN', 'DD/MM/YYYY HH:mm:ss');
2334
- console.debug('DEBUG DATE PATERN UPDATE', this.datePattern);
2335
2333
  };
2336
2334
  AbstractDateFormat.prototype._getTranslationValue = function (translations, key, defaultValue) {
2337
2335
  return (translations[key] !== key) ? translations[key] : defaultValue;
@@ -30958,7 +30956,7 @@
30958
30956
  var _this = this;
30959
30957
  return __generator(this, function (_b) {
30960
30958
  // Update component when refresh is need (=login events)
30961
- this._subscriptions.add(rxjs.merge(this.accountService.onLogin, this.accountService.onLogout, rxjs.of() // Starts with - first attempt if account is ready
30959
+ this._subscriptions.add(rxjs.merge(this.accountService.onLogin, this.accountService.onLogout, rxjs.timer(1000) // Starts with - first attempt if account is ready
30962
30960
  )
30963
30961
  .pipe(
30964
30962
  // Wait account service ready (can be restarted)