Fix when not having READ rights on the parent
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
c682fb9184
commit
6785bfc3e0
10
package-lock.json
generated
10
package-lock.json
generated
@ -2692,14 +2692,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@farmmaps/common": {
|
"@farmmaps/common": {
|
||||||
"version": "0.0.1-prerelease.325",
|
"version": "0.0.1-prerelease.349",
|
||||||
"resolved": "https://repository.akkerweb.nl/repository/npm-group/@farmmaps/common/-/common-0.0.1-prerelease.325.tgz",
|
"resolved": "https://repository.akkerweb.nl/repository/npm-group/@farmmaps/common/-/common-0.0.1-prerelease.349.tgz",
|
||||||
"integrity": "sha512-taXTcyYXHqkSZfKCKr9Oqp/eXA15NY3ryIBZ3W3nV43VvzPEQHQJSiMt8uSR1/Xwt7Vim0rTjaiVF2kS0iuz9g=="
|
"integrity": "sha512-CLANnjefX8vpIIOHX/eutPG9H/7PD/rgG5HH/VhmXjTwSjU97W4xf+iLow4SvukVFfikQ1EDnWECx/6uKKRIUg=="
|
||||||
},
|
},
|
||||||
"@farmmaps/common-map": {
|
"@farmmaps/common-map": {
|
||||||
"version": "0.0.1-prerelease.325",
|
"version": "file:dist/common-map"
|
||||||
"resolved": "https://repository.akkerweb.nl/repository/npm-group/@farmmaps/common-map/-/common-map-0.0.1-prerelease.325.tgz",
|
|
||||||
"integrity": "sha512-T33qDcusnxKab8hlTxgcQEfANPDag+Ys1+32UvPwkVlk7Gfa5sm0Xw6on70epBOINHMfvbsVpm3dV/lIdgZHhA=="
|
|
||||||
},
|
},
|
||||||
"@istanbuljs/schema": {
|
"@istanbuljs/schema": {
|
||||||
"version": "0.1.2",
|
"version": "0.1.2",
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
"@angular/platform-browser": "~9.1.0",
|
"@angular/platform-browser": "~9.1.0",
|
||||||
"@angular/platform-browser-dynamic": "~9.1.0",
|
"@angular/platform-browser-dynamic": "~9.1.0",
|
||||||
"@angular/router": "~9.1.0",
|
"@angular/router": "~9.1.0",
|
||||||
"@farmmaps/common": ">=0.0.1-prerelease.325 <0.0.1",
|
"@farmmaps/common": ">=0.0.1-prerelease.349 <0.0.1",
|
||||||
"@farmmaps/common-map": ">=0.0.1-prerelease.325 <0.0.1",
|
"@farmmaps/common-map": "file:dist/common-map",
|
||||||
"@microsoft/signalr": "^3.1.3",
|
"@microsoft/signalr": "^3.1.3",
|
||||||
"@ng-bootstrap/ng-bootstrap": "^6.0",
|
"@ng-bootstrap/ng-bootstrap": "^6.0",
|
||||||
"@ngrx/effects": "^9.0",
|
"@ngrx/effects": "^9.0",
|
||||||
|
@ -177,7 +177,7 @@ export class MapEffects {
|
|||||||
return this.itemService$.getItem(child.parentCode)
|
return this.itemService$.getItem(child.parentCode)
|
||||||
.pipe(map(parent => {
|
.pipe(map(parent => {
|
||||||
return {child, parent};
|
return {child, parent};
|
||||||
})
|
}),catchError(() => { let parent:IItem = null;return of({child,parent})})
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
map(data => new mapActions.SelectItemSuccess(data.child, data.parent)),
|
map(data => new mapActions.SelectItemSuccess(data.child, data.parent)),
|
||||||
|
Loading…
Reference in New Issue
Block a user