Fix profile update endpoint/payload and hide dead menu entries
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user