Fixed sorting of urgency

This commit is contained in:
Lukas Wölfer 2023-06-19 23:44:28 +02:00
parent 3a9a952a9e
commit 71a47b2e53

View file

@ -300,7 +300,7 @@ export default defineComponent({
: [{ text: 'Wait', value: 'wait' }]), : [{ text: 'Wait', value: 'wait' }]),
{ text: 'Until', value: 'until' }, { text: 'Until', value: 'until' },
{ text: 'Tags', value: 'tags' }, { text: 'Tags', value: 'tags' },
{ text: 'Urgency', value: 'urgency', sort: (a: number, b: number) => !(a > b) }, { text: 'Urgency', value: 'urgency', sort: (a: number, b: number) => b - a },
{ text: 'Actions', value: 'actions', sortable: false } { text: 'Actions', value: 'actions', sortable: false }
]); ]);