Merge pull request #73 from corrodedHash/urgencySortFix

Fixed sorting of urgency
This commit is contained in:
DCsunset 2023-06-19 20:47:35 -04:00 committed by GitHub
commit 257d79bee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -300,7 +300,7 @@ export default defineComponent({
: [{ text: 'Wait', value: 'wait' }]),
{ text: 'Until', value: 'until' },
{ 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 }
]);