Hides term insertion switch on metadata edition form if taxonomy does not allow new term insertion.
This commit is contained in:
parent
c95dec7365
commit
e1f50c0125
|
@ -65,8 +65,8 @@
|
|||
</b-select>
|
||||
|
||||
</b-field>
|
||||
|
||||
<b-field
|
||||
v-if="taxonomy_id && taxonomies.length && taxonomies.find((taxonomy) => taxonomy.id == taxonomy_id).allow_insert == 'yes'"
|
||||
:addons="false"
|
||||
:label="$i18n.get('label_taxonomy_allow_new_terms')">
|
||||
<b-switch
|
||||
|
|
Loading…
Reference in New Issue