mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
Described sort method in a more understandable way
This commit is contained in:
@@ -75,7 +75,7 @@ export class Binder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sort extensions in ascending order.
|
* Sort extensions in ascending order, starting with entries with specified extensionName.
|
||||||
*/
|
*/
|
||||||
sortExtensions = (a: ExtensionRegistration, b: ExtensionRegistration) => {
|
sortExtensions = (a: ExtensionRegistration, b: ExtensionRegistration) => {
|
||||||
const regA = a.extensionName ? a.extensionName.toUpperCase() : "";
|
const regA = a.extensionName ? a.extensionName.toUpperCase() : "";
|
||||||
|
|||||||
Reference in New Issue
Block a user