@open-rlb/ng-app 3.1.14 → 3.1.15
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.
|
@@ -1634,8 +1634,8 @@ class CompanyInterceptor {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
return this.store.select(state => state[appContextFeatureKey].currentApp).pipe(take(1), map$1((app) => {
|
|
1636
1636
|
// Get the correct keys from config
|
|
1637
|
-
const companyKey = this.config
|
|
1638
|
-
const productKey = this.config
|
|
1637
|
+
const companyKey = this.config.acl?.interceptorMapping?.companyIdKey ?? 'companyId';
|
|
1638
|
+
const productKey = this.config.acl?.interceptorMapping?.productIdKey ?? 'productId';
|
|
1639
1639
|
const companyId = app?.data?.companyId;
|
|
1640
1640
|
const productId = app?.data?.productId;
|
|
1641
1641
|
if (companyId && productId) {
|