ember-ebau-gwr 7.5.0 → 7.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [7.5.2](https://github.com/inosca/ember-ebau-gwr/compare/v7.5.1...v7.5.2) (2024-03-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **project:** handle missing current route information ([8eabd5f](https://github.com/inosca/ember-ebau-gwr/commit/8eabd5ff1241cbfd6f82b0bb3a3ab00e4d63343a))
7
+
8
+ ## [7.5.1](https://github.com/inosca/ember-ebau-gwr/compare/v7.5.0...v7.5.1) (2024-03-15)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **readme:** node compatibility ([0a32ea8](https://github.com/inosca/ember-ebau-gwr/commit/0a32ea836cf482277102ee0e81944f8e3722d93a))
14
+
1
15
  # [7.5.0](https://github.com/inosca/ember-ebau-gwr/compare/v7.4.6...v7.5.0) (2024-03-11)
2
16
 
3
17
 
package/README.md CHANGED
@@ -15,7 +15,7 @@ pnpm start
15
15
 
16
16
  - Ember.js v4.4 or above
17
17
  - Ember CLI v4.4 or above
18
- - Node.js v14 or above
18
+ - Node.js v18 or above
19
19
 
20
20
  ## Installation
21
21
 
@@ -10,7 +10,7 @@ export default class ProjectController extends Controller {
10
10
  @service constructionProject;
11
11
 
12
12
  get activeProjectId() {
13
- return Number(this.router.externalRouter.currentRoute.params.project_id);
13
+ return Number(this.router.externalRouter.currentRoute?.params.project_id);
14
14
  }
15
15
 
16
16
  get isLoading() {
@@ -20,8 +20,8 @@ export default class ProjectController extends Controller {
20
20
  get displayLandingPage() {
21
21
  return (
22
22
  !this.projects.value?.length &&
23
- this.router.externalRouter.currentRoute.localName !== "new" &&
24
- this.router.externalRouter.currentRoute.localName !== "errors"
23
+ this.router.externalRouter.currentRoute?.localName !== "new" &&
24
+ this.router.externalRouter.currentRoute?.localName !== "errors"
25
25
  );
26
26
  }
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-ebau-gwr",
3
- "version": "7.5.0",
3
+ "version": "7.5.2",
4
4
  "description": "Ember engine to integrate ebau-gwr into an ember app.",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -109,7 +109,7 @@
109
109
  "stylelint-config-standard-scss": "12.0.0",
110
110
  "stylelint-prettier": "5.0.0",
111
111
  "stylelint-scss": "6.0.0",
112
- "uikit": "3.17.11",
112
+ "uikit": "3.19.2",
113
113
  "webpack": "5.89.0"
114
114
  },
115
115
  "engines": {
@@ -346,4 +346,4 @@ ember-gwr:
346
346
  empty: Pas de dossiers/ cas en suspens
347
347
 
348
348
  streetSearch:
349
- requiredInputs: Veuillez d'abord indiquer le nom de la ville et le code postal.
349
+ requiredInputs: Veuillez d'abord entrer le nom de votre ville et votre code postal.