mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Admin Portal - Profile
This commit is contained in:
parent
97512e0239
commit
6af2f73efd
12
public/main.profile.dart.js
vendored
12
public/main.profile.dart.js
vendored
@ -332489,9 +332489,7 @@
|
||||
t2 = t2 == null ? null : t2.get$isCreatingNew();
|
||||
if (t2 === true)
|
||||
t1.route += "/edit";
|
||||
else if (t1.entityType !== B.EntityType_product)
|
||||
t1.route += "/view";
|
||||
} else {
|
||||
} else if (part !== "view") {
|
||||
if (!B.JSArray_methods.contains$1(A._setArrayType(["main", "dashboard", "settings"], type$.JSArray_legacy_String), part) && _this._box_0.entityType == null)
|
||||
try {
|
||||
_this._box_0.entityType = A._$typeValueOf(part);
|
||||
@ -332500,7 +332498,7 @@
|
||||
t1 = _this._box_0;
|
||||
t1.route = t1.route + B.JSString_methods.$add("/", part);
|
||||
}
|
||||
_this.routes.push(t1.route);
|
||||
_this.routes.push(_this._box_0.route);
|
||||
},
|
||||
$signature: 9
|
||||
};
|
||||
@ -382374,8 +382372,6 @@
|
||||
store = A.StoreProvider_of(context, type$.legacy_AppState),
|
||||
state = A._lateReadCheck(store.__Store__state, "_state"),
|
||||
t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
|
||||
if (state.get$companies().length === 0)
|
||||
return new A.LoadingIndicator(_null, false, _null);
|
||||
if (A.getLayout(context) !== B.AppLayout_mobile) {
|
||||
t2 = state.uiState;
|
||||
t2 = !B.JSString_methods.startsWith$1(t2.currentRoute, "/settings") || t2.get$isEditing() || t2.settingsUIState.isChanged;
|
||||
@ -382450,7 +382446,9 @@
|
||||
isCancelEnabled = B.JSString_methods.contains$1("company_gateways/edit", t3.get$baseSubRoute()) && true;
|
||||
showUpgradeBanner = false;
|
||||
}
|
||||
if (showUpgradeBanner) {
|
||||
if (state.get$companies().length === 0)
|
||||
t2 = new A.LoadingIndicator(_null, false, _null);
|
||||
else if (showUpgradeBanner) {
|
||||
t2 = t2[t4].userCompany.isOwner && !A.isApple() ? new A.EditScaffold_build_closure(state) : _null;
|
||||
t2 = A.Column$(A._setArrayType([A.InkWell$(false, _null, true, new A.IconMessage(upgradeMessage, _null, B.MaterialColor_Map_JNZaB_4294940672, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null), A.Expanded$(_this.body, 1)], type$.JSArray_legacy_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1);
|
||||
} else
|
||||
|
Loading…
x
Reference in New Issue
Block a user