Skip to content

add a new allowed metadata from the corpus properties page

ml bonhomme requested to merge create-new-metadata into master

closes https://gitlab.com/arkindex/frontend/-/issues/757

In MetaData.vue I replaced const allowedMetadata = this.allowedMetadata[this.selectedAllowedMetadata] with const allowedMetadata = { name: this.allowedMetadata[this.selectedAllowedMetadata].name, type: this.allowedMetadata[this.selectedAllowedMetadata].type } which is not very cute because otherwise the POST request went to /element/{AllowedMetaData id}/metadata/ instead of element/{the actual element id}/metadata for some reason.

Edited by ml bonhomme

Merge request reports

Loading