mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 15:54:37 -04:00
Admin Portal - Profile
This commit is contained in:
parent
54e2589826
commit
123d4b58fd
5
public/main.profile.dart.js
vendored
5
public/main.profile.dart.js
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user