ember-ebau-gwr 7.5.2 → 7.5.3
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 +7 -0
- package/addon/controllers/project.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [7.5.3](https://github.com/inosca/ember-ebau-gwr/compare/v7.5.2...v7.5.3) (2024-03-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **project:** revert handling of missing current route information ([d263bff](https://github.com/inosca/ember-ebau-gwr/commit/d263bffb1ac20bb503ec1280f27c7db9222e83b8))
|
|
7
|
+
|
|
1
8
|
## [7.5.2](https://github.com/inosca/ember-ebau-gwr/compare/v7.5.1...v7.5.2) (2024-03-18)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -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
|
|
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
|
|
24
|
-
this.router.externalRouter.currentRoute
|
|
23
|
+
this.router.externalRouter.currentRoute.localName !== "new" &&
|
|
24
|
+
this.router.externalRouter.currentRoute.localName !== "errors"
|
|
25
25
|
);
|
|
26
26
|
}
|
|
27
27
|
|