diff --git a/plugins/recruit-resources/src/components/Vacancies.svelte b/plugins/recruit-resources/src/components/Vacancies.svelte index fa67cd4b38..37e18cfcdb 100644 --- a/plugins/recruit-resources/src/components/Vacancies.svelte +++ b/plugins/recruit-resources/src/components/Vacancies.svelte @@ -61,7 +61,7 @@ (applications?.get(b._id as Ref)?.count ?? 0) - (applications?.get(a._id as Ref)?.count ?? 0) ?? 0 const modifiedSorting = (a: Doc, b: Doc) => (applications?.get(b._id as Ref)?.modifiedOn ?? b.modifiedOn) - - (applications?.get(a._id as Ref)?.modifiedOn ?? a.modifiedOn) + (applications?.get(a._id as Ref)?.modifiedOn ?? a.modifiedOn) const replacedKeys: Map = new Map([ [