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