mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
merge with default branch
This commit is contained in:
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user