Removes "mineiro" term from function name.

This commit is contained in:
mateuswetah 2021-05-19 11:12:17 -03:00
parent f23ac48179
commit f54004347d
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'visible_options_list')"/>
</b-field>
<b-field
v-if="taxonomy_id && taxonomies.length && isTremCreationAllowedOnCurrentTaxonomy"
v-if="taxonomy_id && taxonomies.length && isTermCreationAllowedOnCurrentTaxonomy"
:addons="false"
:label="$i18n.get('label_taxonomy_allow_new_terms')">
&nbsp;
@ -201,7 +201,7 @@
}
return true;
},
isTremCreationAllowedOnCurrentTaxonomy() {
isTermCreationAllowedOnCurrentTaxonomy() {
const currentTaxonomy = this.taxonomies.find((taxonomy) => taxonomy.id == this.taxonomy_id);
return currentTaxonomy ? currentTaxonomy.allow_insert == 'yes' : false;
}