Skip to content

Commit

Permalink
Fix #7474 Metadata manager one-to-many attribute creation not possible
Browse files Browse the repository at this point in the history
  • Loading branch information
dennishendriksen committed Jun 22, 2018
1 parent fce17e1 commit fe40a6d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
</div>
</div>

<div v-else-if="isOneToManyType">
<div v-if="isOneToManyType">
<div class="form-group row">
<label class="col-3 col-form-label text-muted">{{ 'attribute-edit-form-mapped-by-label' | i18n }}</label>
<div class="col">
Expand Down Expand Up @@ -305,7 +305,7 @@
mappedByAttributes: 'getMappedByAttributes'
}),
isReferenceType: function () {
return ['file', 'xref', 'mref', 'categorical', 'categoricalmref'].includes(this.selectedAttribute.type)
return ['file', 'xref', 'mref', 'categorical', 'categoricalmref', 'onetomany'].includes(this.selectedAttribute.type)
},
isNumericType: function () {
return ['int', 'long'].includes(this.selectedAttribute.type)
Expand Down

0 comments on commit fe40a6d

Please sign in to comment.