Remove commented-out action buttons from employee list table

This commit is contained in:
Vaibhav Surve 2025-05-09 10:19:23 +05:30
parent db8a811a63
commit 7281794fcf

View File

@ -186,8 +186,8 @@ class _EmployeeScreenState extends State<EmployeeScreen> with UIMixin {
DataColumn(label: MyText.labelLarge('Name', color: contentTheme.primary)),
DataColumn(
label: MyText.labelLarge('Contact', color: contentTheme.primary)),
DataColumn(
label: MyText.labelLarge('Actions', color: contentTheme.primary)),
// DataColumn(
// label: MyText.labelLarge('Actions', color: contentTheme.primary)),
];
final rows =
@ -217,26 +217,26 @@ class _EmployeeScreenState extends State<EmployeeScreen> with UIMixin {
],
),
),
DataCell(
Row(
children: [
IconButton(
icon: const Icon(Icons.visibility),
tooltip: 'View',
onPressed: () {
// View employee action
},
),
IconButton(
icon: const Icon(Icons.edit),
tooltip: 'Edit',
onPressed: () {
// Edit employee action
},
),
],
),
),
// DataCell(
// Row(
// children: [
// IconButton(
// icon: const Icon(Icons.visibility),
// tooltip: 'View',
// onPressed: () {
// // View employee action
// },
// ),
// IconButton(
// icon: const Icon(Icons.edit),
// tooltip: 'Edit',
// onPressed: () {
// // Edit employee action
// },
// ),
// ],
// ),
// ),
],
);
}).toList();