Skip to content

Commit

Permalink
Updated build.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Jun 10, 2024
1 parent 1324cf8 commit 665199a
Show file tree
Hide file tree
Showing 4 changed files with 956 additions and 365 deletions.
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@formio/angular",
"version": "8.0.0-rc.1",
"version": "8.0.0-rc.2",
"scripts": {
"ng": "ng",
"build": "ng build angular-formio",
Expand Down Expand Up @@ -35,23 +35,23 @@
"node": ">=6.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.0.1",
"@angular/animations": "^18.0.0",
"@angular/cli": "^18.0.1",
"@angular/common": "^18.0.0",
"@angular/compiler": "^18.0.0",
"@angular/compiler-cli": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/forms": "^18.0.0",
"@angular/platform-browser": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@angular/router": "^18.0.0",
"@compodoc/compodoc": "^1.1.24",
"@angular-devkit/build-angular": "^18.0.3",
"@angular/animations": "^18.0.2",
"@angular/cli": "^18.0.3",
"@angular/common": "^18.0.2",
"@angular/compiler": "^18.0.2",
"@angular/compiler-cli": "^18.0.2",
"@angular/core": "^18.0.2",
"@angular/forms": "^18.0.2",
"@angular/platform-browser": "^18.0.2",
"@angular/platform-browser-dynamic": "^18.0.2",
"@angular/router": "^18.0.2",
"@compodoc/compodoc": "^1.1.25",
"@formio/deprecated-types": "^0.1.0",
"@formio/js": "^5.0.0-rc.54",
"@formio/js": "^5.0.0-rc.59",
"@types/jasmine": "^5.1.4",
"@types/jasminewd2": "^2.0.13",
"@types/node": "^20.12.7",
"@types/node": "^20.14.2",
"bootstrap": "5.3.3",
"codelyzer": "^6.0.2",
"jasmine-core": "^5.1.2",
Expand All @@ -64,12 +64,12 @@
"ng-packagr": "^18.0.0",
"ngx-bootstrap": "^12.0.0",
"protractor": "~7.0.0",
"replace-in-file": "^7.1.0",
"replace-in-file": "^7.2.0",
"rxjs": "^7.8.1",
"ts-node": "^10.9.2",
"tslib": "^2.5.3",
"tslib": "^2.6.3",
"tslint": "~6.1.0",
"typescript": "~5.4.5",
"zone.js": "^0.14.4"
"zone.js": "^0.14.7"
}
}
2 changes: 1 addition & 1 deletion projects/angular-formio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@formio/angular",
"version": "8.0.0-rc.1",
"version": "8.0.0-rc.2",
"repository": {
"type": "git",
"url": "https://github.com/formio/angular-formio"
Expand Down
3 changes: 2 additions & 1 deletion projects/angular-formio/resource/src/resource.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ export class FormioResourceService {
}

init(route: ActivatedRoute) {
const reset = route.snapshot.queryParams.hasOwnProperty('reset') ? route.snapshot.queryParams.reset : false;
const resourceId = route.snapshot.params['id'];
if (resourceId && (resourceId === this.resourceId)) {
if (resourceId && (resourceId === this.resourceId) && !reset) {
return this.ready;
}

Expand Down
Loading

0 comments on commit 665199a

Please sign in to comment.