@sumaris-net/ngx-components 2.5.0-beta1 → 2.5.0-beta2

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.
@@ -26233,7 +26233,7 @@ class AppPropertiesTable extends AppInMemoryTable {
26233
26233
  }
26234
26234
  setValue(value, opts) {
26235
26235
  // Update translations
26236
- this.translationsByKey = this.translate.instant(this.definitions.map(def => def.label));
26236
+ this.translationsByKey = isNotEmptyArray(this.definitions) ? this.translate.instant(this.definitions.map(def => def.label)) : {};
26237
26237
  const properties = (value || []).slice();
26238
26238
  // Affect definition
26239
26239
  properties.forEach(property => {