Admin Portal - Profile

This commit is contained in:
hillelcoren 2024-09-08 08:00:02 +00:00
parent 7142f1e51a
commit c27d8acc9a

View File

@ -73833,7 +73833,7 @@
t1 = A.getPlatformName(); t1 = A.getPlatformName();
t2 = secret == null ? "" : secret; t2 = secret == null ? "" : secret;
t3 = type$.String; t3 = type$.String;
headers = A.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-PLATFORM", t1, "X-CLIENT-VERSION", "5.0.164", "X-API-SECRET", t2, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t3, t3); headers = A.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-PLATFORM", t1, "X-CLIENT-VERSION", "5.0.165", "X-API-SECRET", t2, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t3, t3);
if (token.length !== 0) if (token.length !== 0)
headers.$indexSet(0, "X-API-Token", token); headers.$indexSet(0, "X-API-Token", token);
t1 = idToken == null; t1 = idToken == null;
@ -73859,11 +73859,11 @@
t2 = response.get$body(0).length > 200 ? B.JSString_methods.substring$2(response.get$body(0), 0, 200) : response.get$body(0); t2 = response.get$body(0).length > 200 ? B.JSString_methods.substring$2(response.get$body(0), 0, 200) : response.get$body(0);
throw A.wrapException("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: " + url + "\n\nResponse: " + t2 + "\n\nHeaders: " + t1.toString$0(0) + "}"); throw A.wrapException("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: " + url + "\n\nResponse: " + t2 + "\n\nHeaders: " + t1.toString$0(0) + "}");
} else { } else {
t1 = A.Version_parse("5.0.164"); t1 = A.Version_parse("5.0.165");
minClientVersion.toString; minClientVersion.toString;
t1 = A.Version__compare(t1, A.Version_parse(minClientVersion)); t1 = A.Version__compare(t1, A.Version_parse(minClientVersion));
if (t1 < 0) if (t1 < 0)
throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.164 < Minimum v" + minClientVersion + "]"); throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.165 < Minimum v" + minClientVersion + "]");
else { else {
t1 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4")); t1 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4"));
if (t1 < 0) if (t1 < 0)
@ -140979,7 +140979,7 @@
this.action = t0; this.action = t0;
}, },
ConnectionStatusSingleton: function ConnectionStatusSingleton(t0, t1) { ConnectionStatusSingleton: function ConnectionStatusSingleton(t0, t1) {
this.hasConnection = false; this.hasConnection = true;
this.connectionChangeController = t0; this.connectionChangeController = t0;
this._connectivity = t1; this._connectivity = t1;
}, },
@ -428188,7 +428188,7 @@
var version = "v" + this.userCompanyStates._list$_list[this.uiState.selectedCompanyIndex].userCompany.account.currentVersion; var version = "v" + this.userCompanyStates._list$_list[this.uiState.selectedCompanyIndex].userCompany.account.currentVersion;
if (version.length !== 0) if (version.length !== 0)
version += "-"; version += "-";
return B.JSString_methods.$add(version + A.getPlatformLetter(), B.JSArray_methods.get$last("5.0.164".split("."))); return B.JSString_methods.$add(version + A.getPlatformLetter(), B.JSArray_methods.get$last("5.0.165".split(".")));
}, },
get$historyList() { get$historyList() {
var _this = this, var _this = this,