Adds verification for metadata type object on mixin.
This commit is contained in:
parent
3e3e7e0c97
commit
88ca241401
|
@ -22,7 +22,7 @@ export const filterTypeMixin = {
|
|||
this.collectionId = this.filter.collection_id ? this.filter.collection_id : this.collectionId;
|
||||
this.metadatumId = this.filter.metadatum.metadatum_id ? this.filter.metadatum.metadatum_id : this.metadatumId;
|
||||
this.filterTypeOptions = this.filter.filter_type_options ? this.filter.filter_type_options : this.filterTypeOptions;
|
||||
this.metadatumType = this.filter.metadatum.metadata_type_object.className ? this.filter.metadatum.metadata_type_object.className : this.metadatumType;
|
||||
this.metadatumType = this.filter.metadatum.metadata_type_object && this.filter.metadatum.metadata_type_object.className ? this.filter.metadatum.metadata_type_object.className : this.metadatumType;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue