Redirection
This commit is contained in:
parent
00441fe907
commit
aa284d9563
@ -325,7 +325,7 @@ class _TravelAgentListPlansState extends State<TravelAgentListPlans> {
|
||||
Row(
|
||||
children: [
|
||||
Text(
|
||||
'My Trips',
|
||||
'Trips',
|
||||
style: GoogleFonts.poppins(
|
||||
fontSize: isDesktop ? 16 : 14,
|
||||
fontWeight: FontWeight.w600,
|
||||
|
||||
@ -243,6 +243,7 @@ class TemplateState extends State<Template> {
|
||||
focusNode: _editorFocusNode,
|
||||
scrollController: _editorScrollController,
|
||||
controller: _controller,
|
||||
// readOnly: true,
|
||||
config: QuillEditorConfig(
|
||||
requestKeyboardFocusOnCheckListChanged: false,
|
||||
// readOnlyMouseCursor: SystemMouseCursors.text,
|
||||
|
||||
@ -46,7 +46,7 @@ class _MyAppState extends State<MyApp> {
|
||||
SemanticsBinding.instance.ensureSemantics(); // ✅ Safe here
|
||||
if (kIsWeb) {
|
||||
final uri = Uri.parse(html.window.location.href);
|
||||
if (uri.path == '/authredirection' &&
|
||||
if (uri.path == '/tstat/authredirection' &&
|
||||
uri.queryParameters['code'] != null) {
|
||||
_authCode = uri.queryParameters['code'];
|
||||
// _isAuthRedirect = true;
|
||||
|
||||
@ -277,7 +277,7 @@ class _CustomAppBarState extends State<CustomAppBar> {
|
||||
|
||||
if (userData?["role"] == "Travel Agent")
|
||||
buildNavItem(
|
||||
"My Trips",
|
||||
"Trips",
|
||||
() => handleTabChange(
|
||||
TabSelection.myTrips, '/listTravelAgentPlan'),
|
||||
layoutColor!,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user