mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add refresh to device data
This commit is contained in:
@@ -490,7 +490,7 @@ const DashboardDevices: FC = () => {
|
||||
</Box>
|
||||
<Grid item justifyContent="flex-end">
|
||||
<IconButton onClick={resetDeviceSelect}>
|
||||
<CancelIcon color="info" sx={{ fontSize: 16, verticalAlign: 'middle' }} />
|
||||
<CancelIcon color="info" sx={{ fontSize: 18, verticalAlign: 'middle' }} />
|
||||
</IconButton>
|
||||
</Grid>
|
||||
</Grid>
|
||||
@@ -509,6 +509,9 @@ const DashboardDevices: FC = () => {
|
||||
<StarBorderOutlinedIcon color="primary" sx={{ fontSize: 18, verticalAlign: 'middle' }} />
|
||||
)}
|
||||
</IconButton>
|
||||
<IconButton onClick={refreshData}>
|
||||
<RefreshIcon color="primary" sx={{ fontSize: 18, verticalAlign: 'middle' }} />
|
||||
</IconButton>
|
||||
</Grid>
|
||||
|
||||
<Table
|
||||
|
||||
Reference in New Issue
Block a user