Skip to content

Commit

Permalink
refactor(demo): small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfxcode committed Nov 6, 2023
1 parent 80a7148 commit 97631b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions playground/components/TypesenseCollections.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,7 @@ const { data: infos, refresh: refreshInfos} = await useAsyncData('infos', () =>
</template>
<template #content>
<DataTable :value="infos">
<Column field="name" header="Name" sortable>
<template #body="{data}">
{{data.name}}
</template>
<template #filter="{filterModel}">
<InputText type="text" v-model="filterModel.value" class="p-column-filter" placeholder="Search by name"/>
</template>
</Column>
<Column field="name" header="Name" sortable/>
<Column field="numDocuments" header="Count" />
<Column field="fields" header="Fields" />
<Column field="defaultSortingField" header="Sort By" />
Expand Down
2 changes: 1 addition & 1 deletion playground/components/TypesenseHealth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const { data: result, refresh:reloadKeys} = await useAsyncData('keys', () => key
<template #content>
<h3>Keys</h3>
<DataTable :value="result.keys">
<Column field="valuePrefix" header="Prefix" />
<Column field="valuePrefix" header="Prefix" sortable/>
<Column field="description" header="Description" />
<Column field="collections" header="Collections" />
<Column field="actions" header="Actions" />
Expand Down

0 comments on commit 97631b1

Please sign in to comment.