diff --git a/src/views/admin/components/metadata-types/taxonomy/Taxonomy.vue b/src/views/admin/components/metadata-types/taxonomy/Taxonomy.vue index 00b1709de..88c8997cd 100644 --- a/src/views/admin/components/metadata-types/taxonomy/Taxonomy.vue +++ b/src/views/admin/components/metadata-types/taxonomy/Taxonomy.vue @@ -24,6 +24,7 @@ :collection-id="itemMetadatum.metadatum.collection_id" :is-taxonomy="true" :metadatum="itemMetadatum.metadatum" + :amount-selected="getComponent == 'tainacan-taxonomy-checkbox' ? value.length : (value ? '1' : '0')" :is-checkbox="getComponent == 'tainacan-taxonomy-checkbox'" @input="(selected) => valueComponent = selected" /> diff --git a/src/views/admin/components/other/checkbox-radio-input.vue b/src/views/admin/components/other/checkbox-radio-input.vue deleted file mode 100644 index 387f1eaca..000000000 --- a/src/views/admin/components/other/checkbox-radio-input.vue +++ /dev/null @@ -1,1216 +0,0 @@ - - - - {{ $i18n.get('filter') }} {{ filter.name }} - {{ $i18n.get('metadatum') }} {{ metadatum.name }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ `${ (option.label ? option.label : '') }` }} - {{ "(" + option.total_items + ")" }} - - - - - - - - - - - - - - - - - {{ finderColumn.label ? finderColumn.label : $i18n.get('label_terms_without_parent') }} - - - - - - - - {{ `${option.label}` }} - - {{ "(" + option.total_items + ")" }} - - - - - {{ `${option.label}` }} - - {{ "(" + option.total_items + ")" }} - - - - - {{ option.total_children + ' ' + $i18n.get('label_children_terms') }} - - {{ option.total_children }} - - - - - - - - - - - - - {{ isUsingElasticSearch ? $i18n.get('info_no_more_terms_found') : '' }} - - - - - - - - - - - - - - - - - - {{ "(" + option.total_items + ")" }} - - - - - - - {{ "(" + option.total_items + ")" }} - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ isTaxonomy ? $i18n.get('label_no_terms_selected') : $i18n.get('label_nothing_selected') }} - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/admin/components/other/checkbox-radio-metadata-input.vue b/src/views/admin/components/other/checkbox-radio-metadata-input.vue index e656a615f..50d0c0430 100644 --- a/src/views/admin/components/other/checkbox-radio-metadata-input.vue +++ b/src/views/admin/components/other/checkbox-radio-metadata-input.vue @@ -227,7 +227,7 @@ - +
- - - - - -
- {{ finderColumn.label ? finderColumn.label : $i18n.get('label_terms_without_parent') }} -
- - - -
{{ isTaxonomy ? $i18n.get('label_no_terms_selected') : $i18n.get('label_nothing_selected') }}