feat:#104 moved eventTyp colum to new component

This commit is contained in:
masterElmar
2023-12-28 23:59:09 +01:00
parent b23326cfe7
commit e29ed1f12f

View File

@ -33,6 +33,10 @@ const filters = ref({
value: null,
matchMode: FilterMatchMode.CONTAINS,
},
eventType: {
value: null,
matchMode: FilterMatchMode.CONTAINS,
},
prof: {
value: null,
matchMode: FilterMatchMode.CONTAINS,
@ -146,6 +150,21 @@ function unselectModule(event: DataTableRowUnselectEvent) {
/>
</template>
</Column>
<Column
field="eventType"
:header="$t('additionalModules.eventType')"
:show-clear-button="false"
:show-filter-menu="false"
>
<template #filter="{ filterModel, filterCallback }">
<InputText
v-model="filterModel.value"
type="text"
class="p-column-filter max-w-10rem"
@input="filterCallback()"
/>
</template>
</Column>
<Column
field="prof"
:header="$t('additionalModules.professor')"