mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
remove aria-label
This commit is contained in:
@@ -46,7 +46,7 @@ const UserForm: FC<UserFormProps> = ({ creating, validator, user, setUser, onDon
|
||||
};
|
||||
|
||||
return (
|
||||
<Dialog onClose={onCancelEditing} aria-labelledby="user-form-dialog-title" open={!!user} fullWidth maxWidth="sm">
|
||||
<Dialog onClose={onCancelEditing} open={!!user} fullWidth maxWidth="sm">
|
||||
{user && (
|
||||
<>
|
||||
<DialogTitle id="user-form-dialog-title">{creating ? 'Add' : 'Modify'} User</DialogTitle>
|
||||
|
||||
@@ -524,7 +524,7 @@ const DashboardData: FC = () => {
|
||||
<StyledTableRow key={i} onClick={() => sendCommand(dv)}>
|
||||
<StyledTableCell padding="checkbox">
|
||||
{dv.c && me.admin && (
|
||||
<IconButton size="small" aria-label="Edit">
|
||||
<IconButton size="small">
|
||||
<EditIcon color="primary" fontSize="small" />
|
||||
</IconButton>
|
||||
)}
|
||||
@@ -569,7 +569,7 @@ const DashboardData: FC = () => {
|
||||
<StyledTableRow key={sensor_data.n} onClick={() => updateSensor(sensor_data)}>
|
||||
<StyledTableCell padding="checkbox">
|
||||
{me.admin && (
|
||||
<IconButton edge="start" size="small" aria-label="Edit">
|
||||
<IconButton edge="start" size="small">
|
||||
<EditIcon color="primary" fontSize="small" />
|
||||
</IconButton>
|
||||
)}
|
||||
@@ -605,7 +605,7 @@ const DashboardData: FC = () => {
|
||||
<StyledTableRow key={analog_data.i} onClick={() => updateAnalog(analog_data)}>
|
||||
<StyledTableCell padding="checkbox">
|
||||
{me.admin && (
|
||||
<IconButton edge="start" size="small" aria-label="Edit">
|
||||
<IconButton edge="start" size="small">
|
||||
<EditIcon color="primary" fontSize="small" />
|
||||
</IconButton>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user