Skip to content

Commit

Permalink
Build(deps): Bump io.jenetics:jenetics from 7.2.0 to 8.1.0 in /cnf (#…
Browse files Browse the repository at this point in the history
…2795)

* Build(deps): Bump io.jenetics:jenetics from 7.2.0 to 8.1.0 in /cnf

Bumps [io.jenetics:jenetics](https://github.com/jenetics/jenetics) from 7.2.0 to 8.1.0.
- [Release notes](https://github.com/jenetics/jenetics/releases)
- [Changelog](https://github.com/jenetics/jenetics/blob/master/RELEASE_NOTES.md)
- [Commits](jenetics/jenetics@v7.2.0...v8.1.0)

---
updated-dependencies:
- dependency-name: io.jenetics:jenetics
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update bndrun; fix ts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefan Feilmeier <[email protected]>
  • Loading branch information
dependabot[bot] and sfeilmeier authored Dec 24, 2024
1 parent 2a1b88a commit 1ce0018
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cnf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
<!-- Release notes: https://github.com/jenetics/jenetics/blob/master/RELEASE_NOTES.md -->
<groupId>io.jenetics</groupId>
<artifactId>jenetics</artifactId>
<version>7.2.0</version>
<version>8.1.0</version>
</dependency>
<!-- javax -->
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions io.openems.wrapper/jenetics.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ Bundle-Name: Jenetics
Bundle-Description: Java Genetic Algorithm Library
Bundle-DocURL: https://github.com/dhatim/fastexcel
Bundle-License: https://opensource.org/licenses/Apache-2.0
Bundle-Version: 7.2.0
Bundle-Version: 8.1.0

Include-Resource: @jenetics-7.2.0.jar
Include-Resource: @jenetics-8.1.0.jar

-dsannotations: *

Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/shared/type/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class Language {
* @returns translations params
*/
public static async setAdditionalTranslationFile(translationFile: any, translate: TranslateService): Promise<{ lang: string; translations: {}; shouldMerge?: boolean; }> {
const lang = (await translate.onLangChange.pipe(filter(lang => !!lang), take(1)).toPromise()).lang ?? Language.DEFAULT.key;
const lang = (await translate.onLangChange.pipe(filter(lang => !!lang), take(1)).toPromise())?.lang ?? Language.DEFAULT.key;
let translationKey: string = lang;
if (!(lang in translationFile)) {

Expand Down

0 comments on commit 1ce0018

Please sign in to comment.