Fix profile update endpoint/payload and hide dead menu entries

This commit is contained in:
risazmat
2026-09-27 09:01:11 +05:30
parent 90a8524b83
commit c95a3f1581
2 changed files with 74 additions and 55 deletions
@@ -178,7 +178,8 @@ class _TabbedLayoutComponentState extends State<TabbedLayoutComponent> {
print("Selected: $result");
},
itemBuilder: (BuildContext context) => [
PopupMenuItem<String>(
// COMMENTED OUT: no backend endpoint (service_request/raise_ticket)
/*PopupMenuItem<String>(
//value: 'Option 1',
child: Text(
'Raise A Ticket',
@@ -194,7 +195,7 @@ class _TabbedLayoutComponentState extends State<TabbedLayoutComponent> {
),
);
},
),
),*/
PopupMenuItem<String>(
//value: 'Option 1',
@@ -254,7 +255,8 @@ class _TabbedLayoutComponentState extends State<TabbedLayoutComponent> {
},
),
PopupMenuItem<String>(
// COMMENTED OUT
/*PopupMenuItem<String>(
//value: 'Option 1',
child: Text(
'Setup Screen',
@@ -270,9 +272,10 @@ class _TabbedLayoutComponentState extends State<TabbedLayoutComponent> {
);
// Add your logic for menu 2 here
},
),
),*/
PopupMenuItem<String>(
// COMMENTED OUT: no backend endpoint (/Bookmarks -> 404)
/*PopupMenuItem<String>(
//value: 'Option 1',
child: Text(
'BookMark',
@@ -289,9 +292,10 @@ class _TabbedLayoutComponentState extends State<TabbedLayoutComponent> {
);
// Add your logic for menu 2 here
},
),
),*/
PopupMenuItem<String>(
// COMMENTED OUT
/*PopupMenuItem<String>(
//value: 'Option 1',
child: Text(
'System Parameter',
@@ -307,7 +311,7 @@ class _TabbedLayoutComponentState extends State<TabbedLayoutComponent> {
);
// Add your logic for menu 2 here
},
),
),*/
PopupMenuItem<String>(
//value: 'Option 1',