diff --git a/src/admin/pages/item-creation-page.vue b/src/admin/pages/item-creation-page.vue index 057f927f8..3bac68915 100644 --- a/src/admin/pages/item-creation-page.vue +++ b/src/admin/pages/item-creation-page.vue @@ -31,13 +31,7 @@
imagens em formato jpg/png
- + Criar Cancelar @@ -96,10 +90,6 @@ export default { this.getFields(); let data = {item_id: this.itemId, title: this.form.title, description: this.form.description, status: this.form.status}; this.updateItem(data); - }, - extractFieldType(field_type) { - let parts = field_type.split('\\'); - return 'tainacan-' + parts.pop().toLowerCase(); } }, computed: { diff --git a/src/classes/field-types/tainacan-form-item.vue b/src/classes/field-types/tainacan-form-item.vue index f187ca280..0acccedca 100644 --- a/src/classes/field-types/tainacan-form-item.vue +++ b/src/classes/field-types/tainacan-form-item.vue @@ -1,10 +1,10 @@