diff --git a/app/assets/javascripts/components/search/dropdown_filter.ts b/app/assets/javascripts/components/search/dropdown_filter.ts index 3499a1959a..b73aacf8e9 100644 --- a/app/assets/javascripts/components/search/dropdown_filter.ts +++ b/app/assets/javascripts/components/search/dropdown_filter.ts @@ -19,7 +19,6 @@ import { DodonaElement } from "components/meta/dodona_element"; * @prop {string} type - The type of the filter collection, used to determine the dropdown button text * @prop {string} param - the searchQuery param to be used for this filter * @prop {boolean} multi - whether one or more labels can be selected at the same time - * @prop {(l: Label) => string} paramVal - a function that extracts the value that should be used in a searchQuery for a selected label * @prop {[Label]} labels - all labels that could potentially be selected */ @customElement("d-dropdown-filter") @@ -97,7 +96,6 @@ export class DropdownFilters extends DodonaElement { string, param: string }; @@ -27,8 +26,6 @@ export class FilterCollectionElement extends DodonaElement { param: string; @property({ type: Boolean }) multi: boolean; - @property() - paramVal: (l: Label) => string; @property({ type: Array }) labels: Array