Admin Portal - Profile

This commit is contained in:
hillelcoren 2022-07-04 05:03:49 +00:00
parent 54e2589826
commit 123d4b58fd

View File

@ -302081,11 +302081,12 @@
return this.rebuild$1(new A.CompanyEntity_coreCompany_closure());
},
isModuleEnabled$1(entityType) {
var t1, _this = this;
var t1, store, _this = this;
if (entityType === B.EntityType_purchaseOrder) {
t1 = $.$get$navigatorKey();
t1.toString;
if (A.cleanApiUrl(A._lateReadCheck(A.StoreProvider_of($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), type$.legacy_AppState).__Store__state, "_state").authState.url) !== "https://staging.invoicing.co")
store = A.StoreProvider_of($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), type$.legacy_AppState);
if (A._lateReadCheck(store.__Store__state, "_state").get$isHosted() && A.cleanApiUrl(A._lateReadCheck(store.__Store__state, "_state").authState.url) !== "https://staging.invoicing.co")
return false;
}
if ((entityType === B.EntityType_invoice || entityType === B.EntityType_payment) && (_this.enabledModules & 4096) === 0)