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'],
|
fields: ['name', 'full_name', 'image', 'email_id', 'phone'],
|
||||||
orderBy: 'full_name asc',
|
orderBy: 'full_name asc',
|
||||||
cache: 'Contacts',
|
cache: 'Contacts',
|
||||||
pageLength: 999,
|
pageLength: 20,
|
||||||
auto: true,
|
auto: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
<Button icon="more-horizontal" />
|
<Button icon="more-horizontal" />
|
||||||
</template>
|
</template>
|
||||||
</LayoutHeader>
|
</LayoutHeader>
|
||||||
<ListView :list="list" />
|
<ListView :list="list" row-key="name" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
|||||||
@ -104,7 +104,6 @@ const leads = createListResource({
|
|||||||
],
|
],
|
||||||
filters: getArgs() || {},
|
filters: getArgs() || {},
|
||||||
orderBy: 'modified desc',
|
orderBy: 'modified desc',
|
||||||
cache: 'Leads',
|
|
||||||
pageLength: 20,
|
pageLength: 20,
|
||||||
auto: true,
|
auto: true,
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user