CEC-5240: add Remote Command and Remote Reset as bulk-actions (#471)

* add new bulk actions

* move async down scope

* run

* call func

* update error message
This commit is contained in:
Tristan Timblin
2023-10-23 13:08:08 -07:00
committed by GitHub
parent a0da4271a1
commit 6af4b5a10b
16 changed files with 344 additions and 24 deletions

View File

@@ -209,10 +209,10 @@ const MainForm = ({ name }) => {
<AddCircleIcon fontSize="large" />
</Link>
</Grid>
<Grid item md={3}>
<BulkActions ids={selected} actions={["addTags", "deleteVehicles", "sms", "updateConfig"]} />
<Grid item md={4}>
<BulkActions ids={selected} actions={["addTags", "deleteVehicles", "sms", "updateConfig", "remoteCommand", "diagnostic"]} />
</Grid>
<Grid item md={8} align="right" className={classes.textCenterAlign}>
<Grid item md={7} align="right" className={classes.textCenterAlign}>
<SearchField classes={classes} onSearch={handleSearch} />
</Grid>
</Grid>