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
9ef07769f4
commit
2597584552
68
public/main.profile.dart.js
vendored
68
public/main.profile.dart.js
vendored
@ -118142,6 +118142,12 @@
|
|||||||
$get$0$x(receiver) {
|
$get$0$x(receiver) {
|
||||||
return J.getInterceptor$x(receiver).$get$0(receiver);
|
return J.getInterceptor$x(receiver).$get$0(receiver);
|
||||||
},
|
},
|
||||||
|
$get$2$x(receiver, a0, a1) {
|
||||||
|
return J.getInterceptor$x(receiver).$get$2(receiver, a0, a1);
|
||||||
|
},
|
||||||
|
$get$3$rawResponse$x(receiver, a0, a1, a2) {
|
||||||
|
return J.getInterceptor$x(receiver).$get$3$rawResponse(receiver, a0, a1, a2);
|
||||||
|
},
|
||||||
$gt$n(receiver, a0) {
|
$gt$n(receiver, a0) {
|
||||||
if (typeof receiver == "number" && typeof a0 == "number")
|
if (typeof receiver == "number" && typeof a0 == "number")
|
||||||
return receiver > a0;
|
return receiver > a0;
|
||||||
@ -379923,7 +379929,7 @@
|
|||||||
var widget, onTap, _this = this, _null = null,
|
var widget, onTap, _this = this, _null = null,
|
||||||
t1 = _this.value;
|
t1 = _this.value;
|
||||||
if ((t1 == null ? "" : t1).length === 0)
|
if ((t1 == null ? "" : t1).length === 0)
|
||||||
return _this.child;
|
return new A.SizedBox(_null, _null, _null, _null);
|
||||||
widget = _this.child;
|
widget = _this.child;
|
||||||
if (widget == null)
|
if (widget == null)
|
||||||
widget = A.Text$(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null);
|
widget = A.Text$(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null);
|
||||||
@ -380148,13 +380154,59 @@
|
|||||||
this.super$State$didChangeDependencies();
|
this.super$State$didChangeDependencies();
|
||||||
},
|
},
|
||||||
runCheck$0() {
|
runCheck$0() {
|
||||||
var t1, state, credentials, _this = this;
|
var $async$goto = 0,
|
||||||
_this.setState$1(new A._HealthCheckDialogState_runCheck_closure(_this));
|
$async$completer = A._makeAsyncAwaitCompleter(type$.dynamic),
|
||||||
t1 = _this._framework$_element;
|
$async$handler = 1, $async$currentError, $async$next = [], $async$self = this, webClient, state, t1, t2, exception, credentials, $async$exception;
|
||||||
t1.toString;
|
var $async$runCheck$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||||
state = A._lateReadCheck(A.StoreProvider_of(t1, type$.legacy_AppState).__Store__state, "_state");
|
if ($async$errorCode === 1) {
|
||||||
credentials = state.get$credentials(state);
|
$async$currentError = $async$result;
|
||||||
new A.WebClient().$get$2(0, credentials.url + "/health_check", credentials.token).then$1$1(0, new A._HealthCheckDialogState_runCheck_closure0(_this), type$.Null).catchError$1(new A._HealthCheckDialogState_runCheck_closure1(_this));
|
$async$goto = $async$handler;
|
||||||
|
}
|
||||||
|
while (true)
|
||||||
|
switch ($async$goto) {
|
||||||
|
case 0:
|
||||||
|
// Function start
|
||||||
|
$async$self.setState$1(new A._HealthCheckDialogState_runCheck_closure($async$self));
|
||||||
|
webClient = new A.WebClient();
|
||||||
|
t1 = $async$self._framework$_element;
|
||||||
|
t1.toString;
|
||||||
|
state = A._lateReadCheck(A.StoreProvider_of(t1, type$.legacy_AppState).__Store__state, "_state");
|
||||||
|
$async$handler = 3;
|
||||||
|
t1 = state;
|
||||||
|
t2 = t1.userCompanyStates;
|
||||||
|
t1 = t1.uiState.selectedCompanyIndex;
|
||||||
|
$async$goto = 6;
|
||||||
|
return A._asyncAwait(J.$get$3$rawResponse$x(webClient, t2._list[t1].userCompany.account.defaultUrl + "/update", "", true), $async$runCheck$0);
|
||||||
|
case 6:
|
||||||
|
// returning from await.
|
||||||
|
$async$handler = 1;
|
||||||
|
// goto after finally
|
||||||
|
$async$goto = 5;
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
// catch
|
||||||
|
$async$handler = 2;
|
||||||
|
$async$exception = $async$currentError;
|
||||||
|
// goto after finally
|
||||||
|
$async$goto = 5;
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
// uncaught
|
||||||
|
// goto rethrow
|
||||||
|
$async$goto = 1;
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
// after finally
|
||||||
|
credentials = J.get$credentials$z(state);
|
||||||
|
J.$get$2$x(webClient, credentials.url + "/health_check", credentials.token).then$1$1(0, new A._HealthCheckDialogState_runCheck_closure0($async$self), type$.Null).catchError$1(new A._HealthCheckDialogState_runCheck_closure1($async$self));
|
||||||
|
// implicit return
|
||||||
|
return A._asyncReturn(null, $async$completer);
|
||||||
|
case 1:
|
||||||
|
// rethrow
|
||||||
|
return A._asyncRethrow($async$currentError, $async$completer);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return A._asyncStartSync($async$runCheck$0, $async$completer);
|
||||||
},
|
},
|
||||||
clearCache$0() {
|
clearCache$0() {
|
||||||
var t1, store, state, credentials, _this = this;
|
var t1, store, state, credentials, _this = this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user