perf: add multi-sort support (#815)

This commit is contained in:
Rémi Marseault 2023-05-13 21:07:31 +02:00 committed by GitHub
parent ef333b2366
commit a253f17f2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,8 +23,9 @@
:items-per-page="15"
:search="filter"
:custom-filter="customFilter"
:sort-by.sync="sortBy"
:sort-desc.sync="reverse"
multi-sort
:sort-by="['parsedDate']"
:sort-desc="[true]"
:item-class="getRowStyle"
>
<template #top>
@ -90,8 +91,6 @@ export default defineComponent({
],
filter: '',
filterUnread: false,
sortBy: 'parsedDate',
reverse: true,
mdiEmailOpen,
mdiDownload,
mdiClose