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
52bf0fc263
commit
6b8043ebe6
27
public/main.profile.dart.js
vendored
27
public/main.profile.dart.js
vendored
@ -106404,7 +106404,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.62", "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.63", "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)
|
||||||
@ -106427,9 +106427,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.62"), Q.Version_parse(minClientVersion));
|
t2 = Q.Version__compare(Q.Version_parse("5.0.63"), 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.62 < Minimum v" + H.S(minClientVersion) + "]");
|
throw H.wrapException("Error: client not supported, please update to the latest version [Current v5.0.63 < 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)
|
||||||
@ -308597,8 +308597,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.62");
|
prefs._setValue$3("String", "app_version", "5.0.63");
|
||||||
if (!J.$eq$(appVersion, "5.0.62")) {
|
if (!J.$eq$(appVersion, "5.0.63")) {
|
||||||
$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);
|
||||||
@ -309592,7 +309592,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.62".split(".")));
|
return C.JSString_methods.$add(version + D.getPlatformLetter(), C.JSArray_methods.get$last("5.0.63".split(".")));
|
||||||
},
|
},
|
||||||
get$historyList: function() {
|
get$historyList: function() {
|
||||||
var _this = this,
|
var _this = this,
|
||||||
@ -368347,17 +368347,16 @@
|
|||||||
var t1, _this = this;
|
var t1, _this = this;
|
||||||
_this.super$State$initState();
|
_this.super$State$initState();
|
||||||
t1 = _this._widget;
|
t1 = _this._widget;
|
||||||
t1 = t1.viewModel.authState.get$isHosted();
|
t1 = !t1.viewModel.authState.get$isHosted();
|
||||||
_this._isSelfHosted = !t1;
|
_this._isSelfHosted = t1;
|
||||||
if (t1) {
|
|
||||||
t1 = window.document.documentElement;
|
|
||||||
t1.toString;
|
|
||||||
t1 = t1.getAttribute("data-" + new W._DataAttributeMap(new W._ElementAttributeMap(t1))._toHyphenedName$1("login")) === "true";
|
|
||||||
} else
|
|
||||||
t1 = true;
|
|
||||||
if (t1) {
|
if (t1) {
|
||||||
_this._emailLogin = true;
|
_this._emailLogin = true;
|
||||||
_this._createAccount = false;
|
_this._createAccount = false;
|
||||||
|
} else {
|
||||||
|
t1 = window.document.documentElement;
|
||||||
|
t1.toString;
|
||||||
|
if (t1.getAttribute("data-" + new W._DataAttributeMap(new W._ElementAttributeMap(t1))._toHyphenedName$1("login")) === "true")
|
||||||
|
_this._createAccount = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
didChangeDependencies$0: function() {
|
didChangeDependencies$0: function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user