Add new filter bar slot for Section component which teleports on mobile
This commit is contained in:
@@ -230,9 +230,11 @@ onMounted(async () => {
|
||||
<template #header-title-extra>
|
||||
<span style="font-weight: normal; font-size: 14px">({{ busy ? '-' : filteredUsers.length }})</span>
|
||||
</template>
|
||||
<template #header-buttons>
|
||||
<TextInput v-model="search" placeholder="Search ..." />
|
||||
<template #filter-bar>
|
||||
<TextInput v-model="search" placeholder="Search ..." style="flex-grow: 1"/>
|
||||
<SingleSelect :options="filterOptions" option-key="id" option-label="name" v-model="filter" />
|
||||
</template>
|
||||
<template #header-buttons>
|
||||
<Button @click="onEditOrAddUser()">{{ $t('main.action.add') }}</Button>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user