fix: do not cache Leads list - will need a better fix for this since filter is not working properly with cache
This commit is contained in:
parent
360a91f8b7
commit
5d918fdeb6
@ -58,7 +58,7 @@ const contacts = createListResource({
|
||||
fields: ['name', 'full_name', 'image', 'email_id', 'phone'],
|
||||
orderBy: 'full_name asc',
|
||||
cache: 'Contacts',
|
||||
pageLength: 999,
|
||||
pageLength: 20,
|
||||
auto: true,
|
||||
})
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
<Button icon="more-horizontal" />
|
||||
</template>
|
||||
</LayoutHeader>
|
||||
<ListView :list="list" />
|
||||
<ListView :list="list" row-key="name" />
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
@ -104,7 +104,6 @@ const leads = createListResource({
|
||||
],
|
||||
filters: getArgs() || {},
|
||||
orderBy: 'modified desc',
|
||||
cache: 'Leads',
|
||||
pageLength: 20,
|
||||
auto: true,
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user