@memberjunction/ng-explorer-core 0.9.43 → 0.9.45
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.
|
@@ -461,7 +461,7 @@ export class ViewPropertiesDialogComponent extends BaseFormComponent {
|
|
|
461
461
|
}
|
|
462
462
|
saveProperties() {
|
|
463
463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
464
|
-
const bNewRecord = !(this.record.
|
|
464
|
+
const bNewRecord = !(this.record.PrimaryKey.Value);
|
|
465
465
|
this.showloader = true;
|
|
466
466
|
const lfs = JSON.stringify(this.localFilterState);
|
|
467
467
|
this.record.FilterState = JSON.stringify(this.localFilterState); // pass this along as as string, not directly bound since Kendo Filter is bound to a local object we need to translate to a string
|
|
@@ -490,7 +490,7 @@ export class ViewPropertiesDialogComponent extends BaseFormComponent {
|
|
|
490
490
|
eventCode: EventCodes.ViewUpdated,
|
|
491
491
|
args: new ResourceData({
|
|
492
492
|
ResourceTypeID: this.sharedService.ViewResourceType.ID,
|
|
493
|
-
ResourceRecordID: this.record.
|
|
493
|
+
ResourceRecordID: this.record.PrimaryKey.Value,
|
|
494
494
|
Configuration: {
|
|
495
495
|
ViewEntity: this.record
|
|
496
496
|
}
|
|
@@ -499,7 +499,7 @@ export class ViewPropertiesDialogComponent extends BaseFormComponent {
|
|
|
499
499
|
});
|
|
500
500
|
else
|
|
501
501
|
// we route to the new view using the router
|
|
502
|
-
this.router.navigate(['resource', 'view', this.record.
|
|
502
|
+
this.router.navigate(['resource', 'view', this.record.PrimaryKey.Value]);
|
|
503
503
|
}
|
|
504
504
|
else {
|
|
505
505
|
// it failed, so don't close the dialog
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-explorer-core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.45",
|
|
4
4
|
"description": "MemberJunction Explorer: Core Angular Components",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@memberjunction/global": "^0.9.104",
|
|
31
|
-
"@memberjunction/core": "^0.9.
|
|
32
|
-
"@memberjunction/ng-compare-records": "^0.9.
|
|
33
|
-
"@memberjunction/ng-record-changes": "^0.9.
|
|
34
|
-
"@memberjunction/ng-container-directives": "^0.9.
|
|
35
|
-
"@memberjunction/ng-user-view-grid": "^0.9.
|
|
31
|
+
"@memberjunction/core": "^0.9.104",
|
|
32
|
+
"@memberjunction/ng-compare-records": "^0.9.106",
|
|
33
|
+
"@memberjunction/ng-record-changes": "^0.9.43",
|
|
34
|
+
"@memberjunction/ng-container-directives": "^0.9.81",
|
|
35
|
+
"@memberjunction/ng-user-view-grid": "^0.9.85",
|
|
36
36
|
"tslib": "^2.3.0"
|
|
37
37
|
},
|
|
38
38
|
"sideEffects": false
|