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
c795a9ec82
commit
b5c844a8cf
24
public/main.profile.dart.js
vendored
24
public/main.profile.dart.js
vendored
@ -401678,15 +401678,7 @@
|
|||||||
t10 = state.uiState.selectedCompanyIndex;
|
t10 = state.uiState.selectedCompanyIndex;
|
||||||
t9 = t9._list;
|
t9 = t9._list;
|
||||||
t11 = t9[t10].userCompany.account;
|
t11 = t9[t10].userCompany.account;
|
||||||
if (!t11.accountSmsVerified)
|
if (!t11.accountSmsVerified && state.get$isHosted())
|
||||||
if (state.get$isHosted()) {
|
|
||||||
t11 = t9[t10].userCompany.company.settings.name;
|
|
||||||
t11 = (t11 == null ? "" : t11).length !== 0;
|
|
||||||
} else
|
|
||||||
t11 = false;
|
|
||||||
else
|
|
||||||
t11 = false;
|
|
||||||
if (t11)
|
|
||||||
if (state.get$isMenuCollapsed()) {
|
if (state.get$isMenuCollapsed()) {
|
||||||
t11 = t3.get$verifyPhoneNumberHelp();
|
t11 = t3.get$verifyPhoneNumberHelp();
|
||||||
t8.push(A.Tooltip$(A.ListTile$(false, B.EdgeInsets_12_0_0_0, _null, _null, true, _null, _null, false, _null, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_59083_MaterialIcons_null_false, B.MaterialColor_Map_JNZaB_4294940672, _null), _null, new A._MenuDrawerState_build_closure4(store, company, state), B.EdgeInsets_8_8_8_8, _null, _null, _null), _null, _null, false, _null, _null, _null, _null, _null, _null, _null), t11));
|
t8.push(A.Tooltip$(A.ListTile$(false, B.EdgeInsets_12_0_0_0, _null, _null, true, _null, _null, false, _null, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_59083_MaterialIcons_null_false, B.MaterialColor_Map_JNZaB_4294940672, _null), _null, new A._MenuDrawerState_build_closure4(store, company, state), B.EdgeInsets_8_8_8_8, _null, _null, _null), _null, _null, false, _null, _null, _null, _null, _null, _null, _null), t11));
|
||||||
@ -449361,7 +449353,7 @@
|
|||||||
t5 = t4;
|
t5 = t4;
|
||||||
t4 = t0;
|
t4 = t0;
|
||||||
}
|
}
|
||||||
t4 = A.Text$(t4.toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null);
|
t4 = A.Text$(t4.toUpperCase(), _null, _null, _null, _null, _null, _null, B.TextAlign_2, _null, _null);
|
||||||
t7 = t2[t3].userCompany.user;
|
t7 = t2[t3].userCompany.user;
|
||||||
t8 = t7.oauthProvider;
|
t8 = t7.oauthProvider;
|
||||||
googleButton = A.Expanded$(A.OutlinedButton$(t4, _null, (t8 === "google" || t8 === "microsoft") && t7.oauthUserToken.length !== 0 ? _null : new A._UserDetailsState_build_closure(state, context, t1, viewModel), _null), 1);
|
googleButton = A.Expanded$(A.OutlinedButton$(t4, _null, (t8 === "google" || t8 === "microsoft") && t7.oauthUserToken.length !== 0 ? _null : new A._UserDetailsState_build_closure(state, context, t1, viewModel), _null), 1);
|
||||||
@ -449375,7 +449367,7 @@
|
|||||||
t9 = "";
|
t9 = "";
|
||||||
} else
|
} else
|
||||||
t9 = t1.get$connectGmail();
|
t9 = t1.get$connectGmail();
|
||||||
t9 = A.Text$(t9.toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null);
|
t9 = A.Text$(t9.toUpperCase(), _null, _null, _null, _null, _null, _null, B.TextAlign_2, _null, _null);
|
||||||
t10 = t2[t3].userCompany.user.oauthProvider;
|
t10 = t2[t3].userCompany.user.oauthProvider;
|
||||||
gmailButton = A.Expanded$(A.OutlinedButton$(t9, _null, t10 !== "google" ? _null : new A._UserDetailsState_build_closure0(state, context, t1, viewModel), _null), 1);
|
gmailButton = A.Expanded$(A.OutlinedButton$(t9, _null, t10 !== "google" ? _null : new A._UserDetailsState_build_closure0(state, context, t1, viewModel), _null), 1);
|
||||||
if (t10 === "microsoft") {
|
if (t10 === "microsoft") {
|
||||||
@ -449385,7 +449377,7 @@
|
|||||||
t9 = J.$index$asx(t5.$index(0, _s2_), _s20_);
|
t9 = J.$index$asx(t5.$index(0, _s2_), _s20_);
|
||||||
} else
|
} else
|
||||||
t9 = t1.get$connectMicrosoft();
|
t9 = t1.get$connectMicrosoft();
|
||||||
t9 = A.Text$(t9.toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null);
|
t9 = A.Text$(t9.toUpperCase(), _null, _null, _null, _null, _null, _null, B.TextAlign_2, _null, _null);
|
||||||
t10 = t2[t3].userCompany.user;
|
t10 = t2[t3].userCompany.user;
|
||||||
t11 = t10.oauthProvider;
|
t11 = t10.oauthProvider;
|
||||||
microsoftButton = A.Expanded$(A.OutlinedButton$(t9, _null, (t11 === "google" || t11 === "microsoft") && t10.oauthUserToken.length !== 0 ? _null : new A._UserDetailsState_build_closure1(state, context, t1, viewModel), _null), 1);
|
microsoftButton = A.Expanded$(A.OutlinedButton$(t9, _null, (t11 === "google" || t11 === "microsoft") && t10.oauthUserToken.length !== 0 ? _null : new A._UserDetailsState_build_closure1(state, context, t1, viewModel), _null), 1);
|
||||||
@ -449400,7 +449392,7 @@
|
|||||||
if (t8 == null)
|
if (t8 == null)
|
||||||
t8 = J.$index$asx(t5.$index(0, _s2_), _s13_);
|
t8 = J.$index$asx(t5.$index(0, _s2_), _s13_);
|
||||||
}
|
}
|
||||||
t8 = A.Text$(t8.toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null);
|
t8 = A.Text$(t8.toUpperCase(), _null, _null, _null, _null, _null, _null, B.TextAlign_2, _null, _null);
|
||||||
t9 = t2[t3].userCompany.user.oauthProvider;
|
t9 = t2[t3].userCompany.user.oauthProvider;
|
||||||
office365Button = A.Expanded$(A.OutlinedButton$(t8, _null, t9 !== "microsoft" ? _null : new A._UserDetailsState_build_closure2(state, context, t1, viewModel), _null), 1);
|
office365Button = A.Expanded$(A.OutlinedButton$(t8, _null, t9 !== "microsoft" ? _null : new A._UserDetailsState_build_closure2(state, context, t1, viewModel), _null), 1);
|
||||||
if (t9 === "apple") {
|
if (t9 === "apple") {
|
||||||
@ -449414,7 +449406,7 @@
|
|||||||
if (t8 == null)
|
if (t8 == null)
|
||||||
t8 = J.$index$asx(t5.$index(0, _s2_), _s13_0);
|
t8 = J.$index$asx(t5.$index(0, _s2_), _s13_0);
|
||||||
}
|
}
|
||||||
appleButton = A.Expanded$(A.OutlinedButton$(A.Text$(t8.toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new A._UserDetailsState_build_closure3(state, context, t1, viewModel), _null), 1);
|
appleButton = A.Expanded$(A.OutlinedButton$(A.Text$(t8.toUpperCase(), _null, _null, _null, _null, _null, _null, B.TextAlign_2, _null, _null), _null, new A._UserDetailsState_build_closure3(state, context, t1, viewModel), _null), 1);
|
||||||
t1.toString;
|
t1.toString;
|
||||||
t8 = J.$index$asx(t5.$index(0, t6), "user_details");
|
t8 = J.$index$asx(t5.$index(0, t6), "user_details");
|
||||||
if (t8 == null)
|
if (t8 == null)
|
||||||
@ -449452,14 +449444,14 @@
|
|||||||
B.JSArray_methods.addAll$1(t15, t14);
|
B.JSArray_methods.addAll$1(t15, t14);
|
||||||
}
|
}
|
||||||
if (!t2[t3].userCompany.account.accountSmsVerified)
|
if (!t2[t3].userCompany.account.accountSmsVerified)
|
||||||
B.JSArray_methods.addAll$1(t15, A._setArrayType([A.Expanded$(A.OutlinedButton$(A.Text$(t1.get$verifyPhoneNumber().toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new A._UserDetailsState_build_closure8(state, context, t1, user, viewModel), _null), 1), new A.SizedBox(16, _null, _null, _null)], t10));
|
B.JSArray_methods.addAll$1(t15, A._setArrayType([A.Expanded$(A.OutlinedButton$(A.Text$(t1.get$verifyPhoneNumber().toUpperCase(), _null, _null, _null, _null, _null, _null, B.TextAlign_2, _null, _null), _null, new A._UserDetailsState_build_closure8(state, context, t1, user, viewModel), _null), 1), new A.SizedBox(16, _null, _null, _null)], t10));
|
||||||
if (t2[t3].userCompany.user.isTwoFactorEnabled) {
|
if (t2[t3].userCompany.user.isTwoFactorEnabled) {
|
||||||
t4 = J.$index$asx(t5.$index(0, t6), "disable_two_factor");
|
t4 = J.$index$asx(t5.$index(0, t6), "disable_two_factor");
|
||||||
if (t4 == null)
|
if (t4 == null)
|
||||||
t4 = "";
|
t4 = "";
|
||||||
} else
|
} else
|
||||||
t4 = t1.get$enableTwoFactor();
|
t4 = t1.get$enableTwoFactor();
|
||||||
t15.push(A.Expanded$(A.OutlinedButton$(A.Text$(t4.toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new A._UserDetailsState_build_closure9(state, context, t1, viewModel, user), _null), 1));
|
t15.push(A.Expanded$(A.OutlinedButton$(A.Text$(t4.toUpperCase(), _null, _null, _null, _null, _null, _null, B.TextAlign_2, _null, _null), _null, new A._UserDetailsState_build_closure9(state, context, t1, viewModel, user), _null), 1));
|
||||||
t15 = A.Row$(t15, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null);
|
t15 = A.Row$(t15, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null);
|
||||||
t4 = J.$index$asx(t5.$index(0, t6), "accent_color");
|
t4 = J.$index$asx(t5.$index(0, t6), "accent_color");
|
||||||
if (t4 == null)
|
if (t4 == null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user