From d6ade5ec4501c01d6d5a570a6e5caaf6077abdcd Mon Sep 17 00:00:00 2001 From: muhtimur Date: Tue, 11 Oct 2022 09:53:03 +0700 Subject: [PATCH] Remove unnecessary '?? 0' statement Signed-off-by: muhtimur --- plugins/recruit-resources/src/components/Vacancies.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/recruit-resources/src/components/Vacancies.svelte b/plugins/recruit-resources/src/components/Vacancies.svelte index b048fba26c..fa67cd4b38 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) ?? 0 + (applications?.get(a._id as Ref)?.modifiedOn ?? a.modifiedOn) const replacedKeys: Map = new Map([ [