-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/agent naming format and sorting names in filter - 395 (#79)
* TEST: suppression du build hors Gitlab * TEST: modification du nom des images * adding an function to format agent name when we create * Change function name and fix gitlabci --------- Co-authored-by: pauldechorgnat <[email protected]> Co-authored-by: Antoine Jeanneney <[email protected]>
- Loading branch information
1 parent
b7438c9
commit c4bbfba
Showing
7 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { useMousePosition, MouseMoveListener } from './mousePosition'; | ||
import { urlHandler } from './urlHandler'; | ||
import { dependencyManager } from './dependencyManager'; | ||
import { processNames } from './processNames'; | ||
|
||
export { dependencyManager, urlHandler, useMousePosition, MouseMoveListener }; | ||
export { dependencyManager, urlHandler, useMousePosition, MouseMoveListener, processNames }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export { processNames }; | ||
function processNames(firstName: string, lastName: string): string { | ||
if (firstName != '' || lastName != '') { | ||
return `${lastName.toUpperCase()} ${firstName.charAt(0).toUpperCase() + firstName.slice(1)}`; | ||
} else { | ||
return `${lastName} ${firstName}`; | ||
} | ||
} |