mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 17:14:31 -04:00
Admin Portal - Profile
This commit is contained in:
parent
d4a7d6c7a4
commit
c41bbcceb5
15
public/main.profile.dart.js
vendored
15
public/main.profile.dart.js
vendored
@ -106443,7 +106443,7 @@
|
|||||||
if (C.JSString_methods.startsWith$1(url, "https://invoicing.co"))
|
if (C.JSString_methods.startsWith$1(url, "https://invoicing.co"))
|
||||||
secret = "";
|
secret = "";
|
||||||
t1 = type$.legacy_String;
|
t1 = type$.legacy_String;
|
||||||
headers = P.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-VERSION", "5.0.64", "X-API-SECRET", secret, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t1, t1);
|
headers = P.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-VERSION", "5.0.66", "X-API-SECRET", secret, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t1, t1);
|
||||||
if (token.length !== 0)
|
if (token.length !== 0)
|
||||||
headers.$indexSet(0, "X-API-Token", token);
|
headers.$indexSet(0, "X-API-Token", token);
|
||||||
if ((idToken == null ? "" : idToken).length !== 0)
|
if ((idToken == null ? "" : idToken).length !== 0)
|
||||||
@ -106466,9 +106466,9 @@
|
|||||||
else if (serverVersion == null)
|
else if (serverVersion == null)
|
||||||
throw H.wrapException("Error: please check that Invoice Ninja v5 is installed on the server");
|
throw H.wrapException("Error: please check that Invoice Ninja v5 is installed on the server");
|
||||||
else {
|
else {
|
||||||
t2 = Q.Version__compare(Q.Version_parse("5.0.64"), Q.Version_parse(minClientVersion));
|
t2 = Q.Version__compare(Q.Version_parse("5.0.66"), Q.Version_parse(minClientVersion));
|
||||||
if (t2 < 0)
|
if (t2 < 0)
|
||||||
throw H.wrapException("Error: client not supported, please update to the latest version [Current v5.0.64 < Minimum v" + H.S(minClientVersion) + "]");
|
throw H.wrapException("Error: client not supported, please update to the latest version [Current v5.0.66 < Minimum v" + H.S(minClientVersion) + "]");
|
||||||
else {
|
else {
|
||||||
t2 = Q.Version__compare(Q.Version_parse(serverVersion), Q.Version_parse("5.0.4"));
|
t2 = Q.Version__compare(Q.Version_parse(serverVersion), Q.Version_parse("5.0.4"));
|
||||||
if (t2 < 0)
|
if (t2 < 0)
|
||||||
@ -308624,8 +308624,8 @@
|
|||||||
// returning from await.
|
// returning from await.
|
||||||
prefs = $async$result;
|
prefs = $async$result;
|
||||||
appVersion = H._asStringQ(J.$index$asx(prefs._preferenceCache, "app_version"));
|
appVersion = H._asStringQ(J.$index$asx(prefs._preferenceCache, "app_version"));
|
||||||
prefs._setValue$3("String", "app_version", "5.0.64");
|
prefs._setValue$3("String", "app_version", "5.0.66");
|
||||||
if (!J.$eq$(appVersion, "5.0.64")) {
|
if (!J.$eq$(appVersion, "5.0.66")) {
|
||||||
$async$self.authRepository.delete$0(0);
|
$async$self.authRepository.delete$0(0);
|
||||||
$async$self.uiRepository.delete$0(0);
|
$async$self.uiRepository.delete$0(0);
|
||||||
$async$self.staticRepository.delete$0(0);
|
$async$self.staticRepository.delete$0(0);
|
||||||
@ -309658,7 +309658,7 @@
|
|||||||
version = "v" + (t1 == null ? "" : t1);
|
version = "v" + (t1 == null ? "" : t1);
|
||||||
if (version.length !== 0)
|
if (version.length !== 0)
|
||||||
version += "-";
|
version += "-";
|
||||||
return C.JSString_methods.$add(version + D.getPlatformLetter(), C.JSArray_methods.get$last("5.0.64".split(".")));
|
return C.JSString_methods.$add(version + D.getPlatformLetter(), C.JSArray_methods.get$last("5.0.66".split(".")));
|
||||||
},
|
},
|
||||||
get$historyList: function() {
|
get$historyList: function() {
|
||||||
var _this = this,
|
var _this = this,
|
||||||
@ -382443,8 +382443,7 @@
|
|||||||
t2 = t1.uiState.selectedCompanyIndex;
|
t2 = t1.uiState.selectedCompanyIndex;
|
||||||
client = J.$index$asx(t1.userCompanyStates._list, t2).clientState.$get$1(0, invoice.clientId);
|
client = J.$index$asx(t1.userCompanyStates._list, t2).clientState.$get$1(0, invoice.clientId);
|
||||||
t2 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
|
t2 = L.Localizations_of(context, C.Type_AppLocalization_KyD, type$.legacy_AppLocalization);
|
||||||
action.toString;
|
if (action != null && C.JSString_methods.startsWith$1(A.toSnakeCase(action.super$EnumClass$toString(0)), "email") && !client.get$hasEmailAddress()) {
|
||||||
if (C.JSString_methods.startsWith$1(A.toSnakeCase(action.super$EnumClass$toString(0)), "email") && !client.get$hasEmailAddress()) {
|
|
||||||
O.showMessageDialog(context, t2.get$clientEmailNotSet(), _null, H.setRuntimeTypeInfo([U.TextButton$(false, L.Text$(t2.get$editClient().toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new F._InvoiceEditState__onSavePressed_closure(context, client), _null)], type$.JSArray_legacy_TextButton));
|
O.showMessageDialog(context, t2.get$clientEmailNotSet(), _null, H.setRuntimeTypeInfo([U.TextButton$(false, L.Text$(t2.get$editClient().toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new F._InvoiceEditState__onSavePressed_closure(context, client), _null)], type$.JSArray_legacy_TextButton));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user