From b98e82c388a6d64afcd2f6318bab781bd96b984d Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Wed, 19 Feb 2020 14:30:52 +0100 Subject: [PATCH] update node and yarn --- pom.xml | 6 +++--- scm-ui/ui-components/src/comparators.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 48e94c11de..522e440efb 100644 --- a/pom.xml +++ b/pom.xml @@ -456,7 +456,7 @@ sonia.scm.maven smp-maven-plugin - 1.0.0-rc3 + 1.0.0-rc4 @@ -856,8 +856,8 @@ 26.0-jre - 10.16.0 - 1.16.0 + 12.16.1 + 1.22.0 8 diff --git a/scm-ui/ui-components/src/comparators.ts b/scm-ui/ui-components/src/comparators.ts index e4d661c2fd..68ae3d0734 100644 --- a/scm-ui/ui-components/src/comparators.ts +++ b/scm-ui/ui-components/src/comparators.ts @@ -15,7 +15,7 @@ export const byKey = (key: string) => { } if (isUndefined(b, key)) { - return 0; + return -1; } if (a[key] < b[key]) { @@ -35,7 +35,7 @@ export const byValueLength = (key: string) => { } if (isUndefined(b, key)) { - return 0; + return -1; } if (a[key].length < b[key].length) { @@ -55,7 +55,7 @@ export const byNestedKeys = (key: string, nestedKey: string) => { } if (isUndefined(b, key, nestedKey)) { - return 0; + return -1; } if (a[key][nestedKey] < b[key][nestedKey]) {