CEC-5292: add battery info to fleet vehicles (#474)
* CEC-5292: add battery info to fleet vehicles * add permission requirement * set new message * responsive * fix missing status * update snapshots * update snapshots
This commit is contained in:
@@ -81,7 +81,7 @@ export default function BulkActions({
|
||||
{
|
||||
id: "diagnostic",
|
||||
name: "Send Diagnostic",
|
||||
disabled: false, // TODO set role
|
||||
disabled: !hasRole(groups, Permissions.CarDiagnostic, providers),
|
||||
trigger: () => setActive("diagnostic"),
|
||||
}
|
||||
].filter((action) => actions.includes(action.id));
|
||||
|
||||
Reference in New Issue
Block a user