updates on the validations on th action button in the substitution page

This commit is contained in:
2026-06-22 15:37:02 +05:30
parent f95d8ec70e
commit 25aaa46e5d

View File

@@ -1056,6 +1056,7 @@ const Riders = () => {
</Box> </Box>
</TableCell> </TableCell>
<TableCell align="right"> <TableCell align="right">
{(row.status || '').toLowerCase() !== 'cancelled' && (
<Stack direction="row" spacing={0.75} justifyContent="flex-end"> <Stack direction="row" spacing={0.75} justifyContent="flex-end">
<Tooltip title="Update substitution" placement="top"> <Tooltip title="Update substitution" placement="top">
<IconButton <IconButton
@@ -1091,6 +1092,7 @@ const Riders = () => {
</IconButton> </IconButton>
</Tooltip> </Tooltip>
</Stack> </Stack>
)}
</TableCell> </TableCell>
</TableRow> </TableRow>
))} ))}