mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Admin Portal - Profile
This commit is contained in:
parent
c4f11fcc7f
commit
0d495041e7
8
public/main.profile.dart.js
vendored
8
public/main.profile.dart.js
vendored
@ -424202,7 +424202,7 @@
|
||||
t1 = A.getPlatformName();
|
||||
t2 = secret == null ? "" : secret;
|
||||
t3 = type$.String;
|
||||
headers = A.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-PLATFORM", t1, "X-CLIENT-VERSION", "5.0.167", "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.168", "X-API-SECRET", t2, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t3, t3);
|
||||
if (token.length !== 0)
|
||||
headers.$indexSet(0, "X-API-Token", token);
|
||||
t1 = idToken == null;
|
||||
@ -424234,11 +424234,11 @@
|
||||
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) + "}");
|
||||
} else {
|
||||
t1 = A.Version_parse("5.0.167");
|
||||
t1 = A.Version_parse("5.0.168");
|
||||
minClientVersion.toString;
|
||||
t1 = A.Version__compare(t1, A.Version_parse(minClientVersion));
|
||||
if (t1 < 0)
|
||||
throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.167 < Minimum v" + minClientVersion + "]");
|
||||
throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.168 < Minimum v" + minClientVersion + "]");
|
||||
else {
|
||||
t1 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4"));
|
||||
if (t1 < 0)
|
||||
@ -427654,7 +427654,7 @@
|
||||
var version = "v" + this.userCompanyStates._list$_list[this.uiState.selectedCompanyIndex].userCompany.account.currentVersion;
|
||||
if (version.length !== 0)
|
||||
version += "-";
|
||||
return B.JSString_methods.$add(version + A.getPlatformLetter(), B.JSArray_methods.get$last("5.0.167".split(".")));
|
||||
return B.JSString_methods.$add(version + A.getPlatformLetter(), B.JSArray_methods.get$last("5.0.168".split(".")));
|
||||
},
|
||||
get$historyList() {
|
||||
var _this = this,
|
||||
|
Loading…
Reference in New Issue
Block a user