diff --git a/config/locale.json b/config/locale.json index 010afc1f..d01c9607 100644 --- a/config/locale.json +++ b/config/locale.json @@ -53,6 +53,7 @@ "filterSelectAll": "select all", "filterDeselectAll": "deselect all", "filterOnlyFavorites": "Show only favorites", + "filterOnlyWithConcepts": "Show only schemes with concepts", "languageFilter": "Language", "typeFilter": "Scheme Type", "filterOther": "Other", @@ -381,6 +382,7 @@ "filterSelectAll": "alle auswählen", "filterDeselectAll": "alle abwählen", "filterOnlyFavorites": "Nur Favoriten anzeigen", + "filterOnlyWithConcepts": "Nur Vokabulare mit Konzepten anzeigen", "languageFilter": "Sprache", "typeFilter": "Vokabular-Typ", "filterOther": "Sonstige", diff --git a/src/components/ConceptSchemeSelection.vue b/src/components/ConceptSchemeSelection.vue index 840c59d6..6c38a06a 100644 --- a/src/components/ConceptSchemeSelection.vue +++ b/src/components/ConceptSchemeSelection.vue @@ -123,7 +123,7 @@ r.uri); languageFilter = availableLanguages.concat([null]); typeFilter = availableTypes.concat([null]);"> + @click.prevent="onlyFavorites = false; onlyWithConcepts = false; schemeFilter = ''; registryFilter = availableRegistries.map(r => r.uri); languageFilter = availableLanguages.concat([null]); typeFilter = availableTypes.concat([null]);"> {{ $t("schemeSelection.filtersRemove") }}
@@ -133,6 +133,11 @@ size="sm"> {{ $t("schemeSelection.filterOnlyFavorites") }} +