Ensure options is an array

pull/7326/head
Oliver Günther 6 years ago
parent e2eec802db
commit c7f8675d78
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      frontend/src/app/modules/fields/edit/field-types/multi-select-edit-field.component.ts

@ -160,7 +160,7 @@ export class MultiSelectEditFieldComponent extends EditFieldComponent implements
});
}
this.options = availableValues;
this.options = availableValues || [];
this.valueOptions = this.options.map(el => {
return { name: el.name, $href: el.$href };
});

Loading…
Cancel
Save