Admin Portal - Profile

This commit is contained in:
hillelcoren 2022-06-22 05:12:29 +00:00
parent 33d3c230c3
commit b793bb085a

View File

@ -445103,7 +445103,7 @@
call$0() { call$0() {
var $async$goto = 0, var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
$async$returnValue, $async$self = this, t1, t2; $async$returnValue, $async$self = this, t3, t1, t2;
var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1) if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer); return A._asyncRethrow($async$result, $async$completer);
@ -445120,12 +445120,13 @@
break; break;
} }
t2 = t2.selectedCompanyIndex; t2 = t2.selectedCompanyIndex;
t2 = t1.userCompanyStates._list[t2].userCompany.user; t2 = t1.userCompanyStates._list[t2].userCompany;
t1 = t2.oauthProvider; t1 = t2.user;
if ((t1 === "google" || t1 === "microsoft") && t2.oauthUserToken.length !== 0) t3 = t1.oauthProvider;
if ((t3 === "google" || t3 === "microsoft") && t1.oauthUserToken.length !== 0)
$async$self.viewModel.onDisconnectMicrosoftEmailPressed.call$1($async$self.context); $async$self.viewModel.onDisconnectMicrosoftEmailPressed.call$1($async$self.context);
else else
A.launch("https://invoicing.co/auth/microsoft", null, false); A.launch(t2.account.defaultUrl + "/auth/microsoft", null, false);
case 1: case 1:
// return // return
return A._asyncReturn($async$returnValue, $async$completer); return A._asyncReturn($async$returnValue, $async$completer);