mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-11 01:34:38 -04:00
Admin Portal - Profile
This commit is contained in:
parent
367eee2a36
commit
afabfb8a43
8
public/main.profile.dart.js
vendored
8
public/main.profile.dart.js
vendored
@ -61480,7 +61480,7 @@
|
|||||||
if (B.JSString_methods.startsWith$1(url, "https://invoicing.co"))
|
if (B.JSString_methods.startsWith$1(url, "https://invoicing.co"))
|
||||||
secret = "";
|
secret = "";
|
||||||
t1 = type$.legacy_String;
|
t1 = type$.legacy_String;
|
||||||
headers = A.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-VERSION", "5.0.96", "X-API-SECRET", secret, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t1, t1);
|
headers = A.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-VERSION", "5.0.97", "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)
|
||||||
@ -61503,9 +61503,9 @@
|
|||||||
else if (serverVersion == null)
|
else if (serverVersion == null)
|
||||||
throw A.wrapException("Error: please check that Invoice Ninja v5 is installed on the server");
|
throw A.wrapException("Error: please check that Invoice Ninja v5 is installed on the server");
|
||||||
else {
|
else {
|
||||||
t2 = A.Version__compare(A.Version_parse("5.0.96"), A.Version_parse(minClientVersion));
|
t2 = A.Version__compare(A.Version_parse("5.0.97"), A.Version_parse(minClientVersion));
|
||||||
if (t2 < 0)
|
if (t2 < 0)
|
||||||
throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.96 < Minimum v" + A.S(minClientVersion) + "]");
|
throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.97 < Minimum v" + A.S(minClientVersion) + "]");
|
||||||
else {
|
else {
|
||||||
t2 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4"));
|
t2 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4"));
|
||||||
if (t2 < 0)
|
if (t2 < 0)
|
||||||
@ -359876,7 +359876,7 @@
|
|||||||
version = "v" + (t1 == null ? "" : t1);
|
version = "v" + (t1 == null ? "" : t1);
|
||||||
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.96".split(".")));
|
return B.JSString_methods.$add(version + A.getPlatformLetter(), B.JSArray_methods.get$last("5.0.97".split(".")));
|
||||||
},
|
},
|
||||||
get$historyList() {
|
get$historyList() {
|
||||||
var _this = this,
|
var _this = this,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user