@vgip/meta-ui 2.1.9 → 2.2.0

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.
@@ -2253,7 +2253,7 @@ class MetaResource {
2253
2253
  if (!refresh && this.isPersistent && (!this.isEditable || this.editMode === false || this.meta.layout.children)) {
2254
2254
  this.edit = false;
2255
2255
  }
2256
- if (this.isPersistent && meta.layout.isCustom && meta.layout.origLayoutId && this.integrationCode === 'HUBSPOT') { // VGIS-10996, TBD enable for all integrations when there is room for testing
2256
+ if (this.isPersistent && meta.layout.isCustom && meta.layout.origLayoutId) { // VGIS-10996, enable for all integrations when there is room for testing
2257
2257
  this.service.getMetadata(meta.layout.origLayoutId, refresh).pipe(finalize(() => {
2258
2258
  delete this.busy;
2259
2259
  this.getDetails();
@@ -3687,7 +3687,7 @@ class FieldSelect extends FieldAbstract {
3687
3687
  if (typeof (this.meta.enabled) !== 'undefined') {
3688
3688
  if (typeof (this.meta.enabled) === 'object') { // TODO move me up
3689
3689
  for (const par of Object.keys(this.meta.enabled)) {
3690
- console.log('this.meta.enabled', this.meta.enabled);
3690
+ // console.log('this.meta.enabled', this.meta.enabled)
3691
3691
  const parValue = this.parent[par];
3692
3692
  if (parValue) {
3693
3693
  // logic for specific values, this works only for true
@@ -4925,6 +4925,9 @@ class FieldComposite extends FieldAbstract {
4925
4925
  ngOnInit() {
4926
4926
  // super.ngOnInit()
4927
4927
  let nestedFieldsRegex;
4928
+ if (this.meta.name === `composite_${this.meta.label}`) {
4929
+ delete this.meta.name; // revisit VGIS-5059, there are composite containes without name on purpose
4930
+ }
4928
4931
  if (this.meta.name) {
4929
4932
  this.scope += `${this.meta.name}_`;
4930
4933
  this.value = this.parent[this.meta.name] || {};